Forum: Ruby inspect...and modify a proc object?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
6559f9b9607a89074ea5e238d31ffbc2?d=identicon&s=25 kelly felkins (Guest)
on 2007-01-16 20:26
(Received via mailing list)
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:



This topic is locked and can not be replied to.