Package gem-method-source: Information

    Source package: gem-method-source
    Version: 1.0.0-alt1
    Build time:  Sep 30, 2022, 02:40 PM in the task #300222
    Category: Development/Ruby
    Report package bug
    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.

    List of rpms provided by this srpm:
    gem-method-source (noarch)
    gem-method-source-doc (noarch)



      1. rpm-build-ruby

    Last changed


    June 5, 2020 Pavel Skrylev 1.0.0-alt1
    - > Ruby Policy 2.0
    - ^ 0.9.0 -> 1.0.0
    - ! spec tags and syntax
    Aug. 23, 2018 Andrey Cherepanov 0.9.0-alt1
    - New version.
    Aug. 23, 2018 Andrey Cherepanov 0.8.2-alt1.1
    - Rebuild for new Ruby autorequirements.
    - Disable tests.