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 [ファイル一覧]