Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37325038
en ru br
ALT Linux repos
S:1.0.0-alt1

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 ( 201.5 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

List of contributors

List of rpms provided by this srpm:

  • gem-method-source
  • gem-method-source-doc
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin