From: Jim Haungs Date: 2010-09-29T05:41:26+09:00 Subject: Re: puts and return Digging deeper into the ruby syntax, it does not appear that there are any boolean operators that are not short-circuited. There are the logical operators & and |, but those appear to work only with integers, a la bit-masks. Amazing how much you can still learn about the corners of this language even after years of use. > I agree that's the clearest. For a one-liner I'd do: > > (puts "Too big"; break) if i > 5 -- Posted via http://www.ruby-forum.com/.