パッケージ: ruby-method-source (1.0.0-2)
ruby-method-source に関するリンク
Trisquel の資源:
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]
メンテナ:
Original Maintainers:
- Debian Ruby Extras Maintainers (メールアーカイブ)
- Youhei SASAKI
- Utkarsh Gupta
外部の資源:
- ホームページ [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.