From: Christian Neukirchen Date: 2005-12-31T22:31:41+09:00 Subject: Re: Method for turning strings into code Erik Veenstra writes: >> > What is the Ruby technique for turning strings into >> > executable code? >> >> Via one of the various forms of eval. > > Uh, well, that's not the right answer. Eval evaluates > (=executes) a string. It doesn't turn a string into executable > code (=compile). Wrap it in a lambda, then. > gegroet, > Erik V. - http://www.erikveen.dds.nl/ -- Christian Neukirchen http://chneukirchen.org