ruby-method-source - Retrieve the sourcecode for a method as a Ruby string

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main i386
Package name ruby-method-source
Package version 0.9.2
Package release 1
Package architecture all
Package type deb
Installed size 39 B
Download size 8.41 KB
Official Mirror
The `method_source` is a utility to return a method's sourcecode as a
Ruby string. Also returns `Proc` and `Lambda` sourcecode.
Method comments can also be extracted using the `comment` method.
It is written in pure Ruby (no C).
- Some Ruby 1.8 support now available.
- Support for MRI, RBX, JRuby, REE
`method_source` provides the `source` and `comment` methods to the
`Method` and `UnboundMethod` and `Proc` classes.


Package Version Architecture Repository
ruby-method-source_0.9.2-1_all.deb 0.9.2 all Debian Main
ruby-method-source - - -


Name Value
ruby -
ruby interpreter


Type URL
Binary Package ruby-method-source_0.9.2-1_all.deb
Source Package ruby-method-source

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install ruby-method-source deb package:
    # sudo apt-get install ruby-method-source




2018-11-17 - HIGUCHI Daisuke (VDR dai) <>
ruby-method-source (0.9.2-1) unstable; urgency=medium
* Team upload.
[ HIGUCHI Daisuke (VDR dai) ]
* New upstream version 0.9.2
* d/p/0002-Fix-gemspec-version.patch: removed, fixed upstream.
* d/watch: use github instead of gemwatch.
* d/copyright: eliminate lintian warning: insecure-copyright-format-uri
* Update Homepage/Source fields.
* Move Vcs-* to
* Upgrade debhelper to 11.
* Bump standard version: 4.2.1 (not changed).
2017-10-21 - HIGUCHI Daisuke (VDR dai) <>
ruby-method-source (0.9.0-1) unstable; urgency=medium
* Team upload.
[ Cédric Boutillier ]
* Remove version in the gem2deb build-dependency
* Use https:// in Vcs-* fields
* Bump Standards-Version to 3.9.7 (no changes needed)
* Run wrap-and-sort on packaging files
[ HIGUCHI Daisuke (VDR dai) ]
* Imported Upstream version 0.9.0
* d/control: b-d: ruby-rspec instead of ruby-bacon.
- d/p/0001-Fix-paths-for-spec_helper.patch: Fix paths for spec_helper.
* eliminate lintian warning: debian-watch-uses-insecure-uri
* d/tests/: add for autopkgtest-pkg-ruby.
* d/p/0002-Fix-gemspec-version.patch: Fix gemspec version.
* Bump standard version: 4.1.1 (not changed)
2014-10-28 - Youhei SASAKI <>
ruby-method-source (0.8.2-2) unstable; urgency=medium
* Bump standard version: 3.9.6 (not changed)
* Rebuild against newer ruby for update rubygems-integration information
2013-08-08 - Youhei SASAKI <>
ruby-method-source (0.8.2-1) unstable; urgency=low
* Imported Upstream version 0.8.2
2013-06-19 - Youhei SASAKI <>
ruby-method-source (0.8.1-2) unstable; urgency=low
[ Youhei SASAKI ]
* Bump Standard version: 3.9.4
* Upload to unstable
[ Cédric Boutillier ]
* debian/control: remove obsolete DM-Upload-Allowed flag
* use canonical URI in Vcs-* fields
2013-01-20 - Youhei SASAKI <>
ruby-method-source (0.8.1-1) experimental; urgency=low
* Imported Upstream version 0.8.1
* Format URI update: DEP5 -> Formant/1.0
2012-04-23 - Youhei SASAKI <>
ruby-method-source (0.7.1-1) unstable; urgency=low
* Imported Upstream version 0.7.1
* Bump Standard Version: 3.9.3
2012-01-27 - Youhei SASAKI <>
ruby-method-source (0.7.0-1) unstable; urgency=low
* Initial release (Closes: #657608)

See Also

Package Description
ruby-metriks_0.9.9.6-1_all.deb experimental threadsafe, low-impact measurement library for Ruby
ruby-middleware_0.1.0-1_all.deb middleware abstraction for Ruby
ruby-mime-types-data_3.2015.1120-1_all.deb registry for information about MIME media type definitions
ruby-mime-types_3.2.2-1_all.deb guess MIME type of files
ruby-mime_0.4.4-2_all.deb MIME library for Ruby
ruby-mimemagic_0.3.2+dfsg-1_all.deb fast MIME detection by extension or content
ruby-mini-exiftool_2.9.0-2_all.deb wrapper for exiftool command-line
ruby-mini-magick_4.9.2-1_all.deb wrapper for ImageMagick with a small memory footprint
ruby-mini-mime_1.0.1-1_all.deb Lightweight mime type implementation
ruby-minimization_0.2.1-2_all.deb Ruby library providing minimization algorithms
ruby-minitar_0.6.1-1_all.deb Provides POSIX tarchive management for Ruby
ruby-minitest-around_0.4.1-1_all.deb Around block for minitest
ruby-minitest-excludes_2.0.0-1_all.deb Ruby unit tests helper library for MiniTest framework
ruby-minitest-focus_1.1.2-1_all.deb provides ability to focus on a few tests easily
ruby-minitest-hooks_1.4.0-1_all.deb Around and before_all/after_all/around_all hooks for Minitest