From: Mathieu Bouchard Date: 2005-02-28T05:01:15+09:00 Subject: Re: destructive! operations On Tue, 22 Feb 2005, Christian Neukirchen wrote: > Pit Capitain 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 Gro� can 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�al QC Canada -=- http://artengine.ca/matju