mercredi 27 décembre 2017

ruby/irb get scope info for method

Can IRB tell me the scope of a class/object/variable/method?

For instance puts.

I am imagining something like describe puts would output information that puts is a method of object and perhaps where its source is located.





Aucun commentaire:

Enregistrer un commentaire