From: Vasyl Smirnov Date: 2007-12-07T22:26:18+09:00 Subject: Re: Dynamic local vars On Dec 7, 11:35 am, MonkeeSage wrote: > On Dec 7, 2:19 am, Vasyl Smirnov wrote: > > def bar > x = 10 > y = 20 > binding > end > > def foo > eval("puts x, y", bar) > end > This would do, but I'd like to have the content of foo as simple as possible (that's actually the reason for the question).