From: lasitha Date: 2009-02-20T17:32:44+09:00 Subject: Re: Replacing values On Fri, Feb 20, 2009 at 12:19 PM, Robert Klemme wrote: > I would prefer an explicit block parameter though - or a method for that > matter. It's more encapsulated, i.e. you have a clear interface and do not > rely on the rather unobvious closure. > Certainly, if that is an option for the OP. I only suggested the closure based solution as an alternative to eval - both solutions are inferior to a parameterized approach. Cheers, lasitha.