[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

inspect...and modify a proc object?

Kelly Dwight Felkins

1/16/2007 7:22:00 PM

I'm trying to understand proc objects.

Can you inspect them? Is there anyway to walk through the original
context? Is there anyway to identify the objects or classes involved,
and what method is being invoked, with what parameters?

Currently, when I "puts myproc.inspect", the result is not very
useful...something like:

#<Proc:0x02815180@...

Thanks,

-Kelly