From: fw Date: 2008-02-09T09:39:06+09:00 Subject: Re: If || statements On Sat, 2008-02-09 at 09:28 +0900, John Maclean wrote: > Hey chaps, > > Is is at all possible to have a statement such as > > p "some string " if ( stuff || more_stuff || other_stuff) > > > I'm not sure what I'm missing here: $ irb irb(main):001:0> p "hello" if (false || false || true) "hello" => nil irb(main):002:0> p "hello" if (false || false) => nil HTH, Felix