Hi,

Anyone know why thse two forms of "unless" behave differently?

> irb
irb(main):001:0> foo = true unless defined?(foo)
=> nil
irb(main):002:0> unless defined?(fooo) ; fooo = true ; end
=> true

thx
-- 
Posted via http://www.ruby-forum.com/.