From: Grzegorz Dostatni Date: 2003-07-09T06:05:42+09:00 Subject: Accessing code blocks Cheers! I need to do something silly. I need to access the code block as a variable (to pass it - without evaluating - to another function). How can I do that? Is it possible for me to access the "text version of block?" Can I print out the code that has been attached to my function instead of executing it? The only functions that work on code block (that I could find) are: block_given? and yield. Obviously they do not fit the bill... Please help. Grzegorz Dostatni