From: James Coglan Date: 2008-09-29T19:59:25+09:00 Subject: Re: ruby1.9 block scope ------=_Part_61096_12258559.1222686015497 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > I could have sworn that one of the firm changes in ruby 1.9 was that > variables defined inside a block would also exist outside the block No, it's the reverse. Take this: x = 5 1.upto(10) { |i| x = i } puts x ruby1.8 prints "10", ruby1.9 should print "5". ------=_Part_61096_12258559.1222686015497--