Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> ruby >> ruby-method-source
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: ruby-method-source  ]

套件: ruby-method-source (0.9.0-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.3 kB39 kB [文件列表]