On Thu, May 1, 2008 at 8:30 AM, Thomas Hafner <thomas / faun.hafner.nl.eu.org> wrote: > def let(*a) > yield(*a) > end > > the scope of variables can be limited, e.g. like this: > The Invocation Construction Kit (Ick) gem includes a "let" function (among others). See: http://ick.rubyforge.org/ "Ick provides the tools needed to easily build your own execution abstractions like the "Maybe" monad or the four canonical block evaluators." Regards, Matt. -- Matt Mower :: http://matt.blogs.it/