From: Gavin Sinclair Date: 2002-09-28T00:43:17+09:00 Subject: Re: Ruby - common pitfalls? I think previous posts have made it clear that the default behaviour is not that all |x| is local. If x exists in enclosing scope, the same x is used in |x|. So they are neither the same nor the opposite. ----- Original Message ----- From: "William Djaja Tjokroaminata" > Hi, > > I don't understand the poll items. There were 104 who voted "make 'em all > local" and 83 who voted "leave it unchanged". Are these the same, or the > opposite of each other? > > Regards, > > Bill > =========================================================================== > Travis Whitton wrote: > > However, judging by this poll > > http://www.rubygarden.org/pollBooth.php?op=results&pollID=13 > > it looks like most people would like the default behaviour to be that variables > > inside of || to be local.