[ 原始碼: 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.