From: Ryan Davis Date: 2011-07-25T16:01:03+09:00 Subject: Re: using "puts" in ternary operator On Jul 22, 2011, at 16:18 , Jesse Breuer wrote: > It works however if I use this form: > x == 2 ? puts("two") : puts("one") puts x == 2 ? "two" : "one"