From: Steve Litt Date: 2005-12-31T22:36:38+09:00 Subject: Re: Method for turning strings into code On Saturday 31 December 2005 06:07 am, Erik Veenstra wrote: > > > 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). When I first posed the question, what I really meant was turn it into Ruby code (like eval does). Sorry for the confusion. While we're on the subject, do you know of a way to turn a Ruby program into an executable binary? Thanks SteveT Steve Litt http://www.troubleshooters.com slitt@troubleshooters.com