From: "Hal E. Fulton" Date: 2001-09-27T02:09:40+09:00 Subject: [ruby-talk:21740] scope in {} and do-end Question... I thought that braces introduced a new scope but do-end didn't. Has this changed? Was it ever the case? Both these fragments tell me x is undefined. a=[1] a.each { x = 5 } puts x a=[1] a.each do x = 5 end puts x Thanks, Hal