From: Rolando Abarca Date: 2009-06-05T04:30:04+09:00 Subject: Re: and in ternary operator On Jun 4, 2009, at 3:13 PM, Parv G. wrote: > 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 since you always "do_a", why no execute it always? do_a do_b if true > regards, -- Rolando Abarca M.