From: "Gray, Jeff" Date: 2002-10-31T02:43:10+09:00 Subject: Runtime access to the source code of a block? Is there a way, through native Ruby code or through C extensions, to access (presumably through a String) the original source of a block object? The context for this idea is an interactive modeling application, where a user writes a base model in Ruby, using blocks to encode the behavior of certain objects in the system, then uses a GUI that allows interactive editing of these blocks during a run of the model so that behavior can be changed on the fly. I'd prefer to have the base source be "live" Ruby code and not strings that are eval'ed. Thanks, - jeff