[ Source: ruby-method-source ]
Package: ruby-method-source (1.0.0-2)
Links for ruby-method-source
Debian Resources:
Download Source Package ruby-method-source:
- [ruby-method-source_1.0.0-2.dsc]
- [ruby-method-source_1.0.0.orig.tar.gz]
- [ruby-method-source_1.0.0-2.debian.tar.xz]
Maintainers:
- Debian Ruby Extras Maintainers (QA Page, Mail Archive)
- Youhei SASAKI (QA Page)
- Utkarsh Gupta (QA Page)
External Resources:
- Homepage [github.com]
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.
Download ruby-method-source
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 8.8 kB | 41.0 kB | [list of files] |