From: Marc Heiler Date: 2011-09-09T12:32:52+09:00 Subject: Re: Executing the output of a loop > This is almost certainly the wrong design, as local variables > aren't really supposed to be used in this way. It does not matter how they are "supposed" to be used. Ruby does not impose it on him. eval() is a perfectly legit way to solve the problem description he has given. There is no "evil user input" at all. eval() works and can be used without thinking that it is the wrong choice for the given problem. -- Posted via http://www.ruby-forum.com/.