On Mon, Jul 27, 2009 at 4:26 PM, Edward Heil<[email protected]> wrote: > Ruby's scoping rules with respect to iterators are kinda controversial even > by the standards of other languages with lexical scoping. (In Lisp you'd be > able to look at the parentheses and know exactly what's in scope where! :) > There's been talk of changing them but I'm not 1.9-savvy enough to know if > any of that has happened yet.
It is changed. http://ruby.about.com/od/newinruby191/a/blockvariscope.htm -- Jonas Elfström
