[ 源代码: ruby-method-source ]
软件包:ruby-method-source(1.0.0-2)
ruby-method-source 的相关链接
Debian 的资源:
下载源码包 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]
维护小组:
外部的资源:
- 主页 [github.com]
相似软件包:
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.