From: "Parv G." Date: 2009-06-05T04:13:46+09:00 Subject: and in ternary operator hi, i would like to do something like the following if true do_a else d_a d_b end Can this be done using ternary operator? This seem to give different result: ifTrue ? do_a : do_a and do_b Thank you. -- Posted via http://www.ruby-forum.com/.