On Tue, 22 Feb 2005, Christian Neukirchen wrote: > Pit Capitain <pit / capitain.de> writes: > > if something > > expands to > > if something != nil && something != false > > I think Christian is right that you cannot work around this in > > Ruby. (Maybe Florian Grocan do it...) > If he could, we wouldn't beg for #to_bool whenever possible... It's been a damn long time too... http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/4991 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/5056 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/5087 _____________________________________________________________________ Mathieu Bouchard -=- MontrñÂl QC Canada -=- http://artengine.ca/matju