From: Intransition Date: 2010-04-27T22:26:44+09:00 Subject: Re: RUBY EVAL FUNCTION On Apr 27, 8:01 am, Brian Candler wrote: > It's pretty reasonable to use eval in the code you provide. I think the > method it defines will be faster because there is no closure created. +1 In cases like this, when you can use a string eval, it is usually the best approach. There are cases where you cannot do this b/c you need access to a local variable.