From: Moises Machado Date: 2007-11-07T00:30:07+09:00 Subject: Re: why return gives error when used with ? : Shuaib Zahda wrote: > Oops I forgot to ask > which one is faster there not really a difference in functionality between the two forms, i think that it's the same underlying implementation so same speed (correct me if i'm wrong didn't run the benchs). for instance I can do a multi command conditional with ?: cond ? (command1; command2; command3) : command4 and one line with if: if cond then command1 else command2 end cheers MoisesMachado -- Posted via http://www.ruby-forum.com/.