From: redroofgreentree Date: 2007-12-01T06:42:58+09:00 Subject: eval / current binding ------=_Part_2351_18128905.1196458983028 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey, So I've looked at module_eval, class_eval, and Kernel#eval and I'm pretty sure that what I want to do is to do Kernel#eval("blah ... some code", global_environment) where by global_environment I mean the global_context or the global_binding The problem now ... is that I don't know how to access this global environment / global context / global binding ... is there a function that I can call that will (1) get me the global binding / global env / global context or (2) a function that I can call that will get me the current binding / env / context Thanks, (when replying please cc the list and me) ------=_Part_2351_18128905.1196458983028--