# Inspect...and modify a proc object?

**URL:** <https://www.ruby-forum.com/t/inspect-and-modify-a-proc-object/82002>\
**Category:** Ruby\
**Created:** [January 16, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/inspect-and-modify-a-proc-object/82002 "2007-01-16T20:26:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kelly\_felkins](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/ac91a4/32.png) [@kelly\_felkins](https://www.ruby-forum.com/u/kelly_felkins)\
**Post date:** [January 16, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/inspect-and-modify-a-proc-object/82002/1 "2007-01-16T20:26:23Z")

</div>

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
