From: gabriele renzi Date: 2003-12-22T00:41:53+09:00 Subject: Re: Lexically scoped variables il Sat, 20 Dec 2003 06:47:53 +0900, Eric Sunshine ha scritto:: > >Nevertheless, I was wondering if there was a better to achieve this goal; not that I'm aware of.. >perhaps a way already supported directly by the language. At the time, I was >working with Ruby 1.6.8. Does 1.8.x provide a better solution? Also, I >understand that there will be some changes to variable scoping within blocks >in a future release of Ruby. Will the new rules break the scheme outlined >above? well, they should, cause block local variables should be in the |var| section. But I think there is still hope to avoid this ;)