From: 7stud -- Date: 2007-10-15T01:26:51+09:00 Subject: Re: Parameter in a block is not local? SpringFlowers AutumnMoon wrote: > I thought a iterator with a block is like an nameless function call... > so if it is a function call, the parameter is local. > but for the following, the output is surprising: > Also, I think I recall reading a post by Matz somewhere where he shouldered the blame for that "feature" and said it was a design mistake. -- Posted via http://www.ruby-forum.com/.