all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: ruby-method-source  ]

Package: ruby-method-source (0.9.2-1)

Links for ruby-method-source

Screenshot

Debian Resources:

Download Source Package ruby-method-source:

Maintainers:

External Resources:

Similar packages:

Retrieve the sourcecode for a method as a Ruby string

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.

Other Packages Related to ruby-method-source

  • depends
  • recommends
  • suggests
  • enhances

Download ruby-method-source

Download for all available architectures
Architecture Package Size Installed Size Files
all 8.4 kB39.0 kB [list of files]