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

Paquet : ruby-method-source (1.0.0-2)

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.

Télécharger ruby-method-source

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 8,7 ko41 ko [liste des fichiers]