From: David Alan Black Date: 2004-04-18T21:34:10+09:00 Subject: Re: New Local Variable Scope rule Hi -- ts writes: > >>>>> "D" == David Alan Black writes: > > D> ... Thread.new do |a| # etc. > > or like this > > local do |a| > > and you see immediately an advantage : you can cut/paste your block and > ruby will do always the same thing because the block-local variable is > directly associated with its block via || > > This is not true with 1.8 Is a 'local' keyword being introduced in 2.0? I can't find mention of it. David -- David A. Black dblack@wobblini.net