From: 7stud -- Date: 2007-09-23T08:20:54+09:00 Subject: Re: Weird variable scope behaviour... Just Another Victim wrote: > if false > variable = true > end > > if variable > #do something > end > > > To my surprise, this is okay! What do you mean by "okay"? Does the following not work as you would expect: if false x = 10 end if x puts "yep" else puts "nope" end Also, see here: http://www.ruby-forum.com/topic/124638#new -- Posted via http://www.ruby-forum.com/.