Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> ruby >> ruby-method-source
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: ruby-method-source  ]

软件包: ruby-method-source (0.9.2-1)

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.

其他与 ruby-method-source 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    或者 ruby-interpreter
    软件包暂时不可用

下载 ruby-method-source

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 8.4 kB39 kB [文件列表]