Group :: Development/Ruby
RPM: gem-method-source
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Current version: 1.0.0-alt1
Build date: 5 june 2020, 11:58 ( 203.3 weeks ago )
Size: 12.55 Kb
Home page: https://banisterfiend.wordpress.com/
License: MIT
Summary: return the sourcecode for a method
Description:
List of contributors List of rpms provided by this srpm:
ACL:
Build date: 5 june 2020, 11:58 ( 203.3 weeks ago )
Size: 12.55 Kb
Home page: https://banisterfiend.wordpress.com/
License: MIT
Summary: return the sourcecode for a method
Description:
Retrieve the sourcecode for a method.
NOTE: This simply utilizes Method#source_location; it does not access the live
AST.
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.
Current maintainer: Ruby Maintainers Team NOTE: This simply utilizes Method#source_location; it does not access the live
AST.
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.
List of contributors List of rpms provided by this srpm:
- gem-method-source
- gem-method-source-doc