Skip to content
Sections
>> Trisquel >> Pakete >> etiona >> ruby >> ruby-method-source
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: ruby-method-source  ]

Paket: 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.

Andere Pakete mit Bezug zu ruby-method-source

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    oder ruby-interpreter
    Paket nicht verfügbar

ruby-method-source herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 8,3 kB39 kB [Liste der Dateien]