From: Stefan Rusterholz Date: 2008-08-24T19:06:09+09:00 Subject: Re: Why 'if 0' succeeds in Ruby Dave Bass wrote: > But unfortunately Ruby regards both false and nil as not-true. For some > reason, this is touted as a feature. > > False and nil are two quite different concepts and should not be > conflated. They aren't conflated. nil != false in ruby, but nil and false have the same conditional value. Both are conditionally false. In my experience this has been the right call by matz all the way. Regards Stefan (apeiros) -- Posted via http://www.ruby-forum.com/.