From: Jeremy Henty Date: 2008-05-03T03:50:05+09:00 Subject: Re: Ruby 1.9 wishlist On 2008-05-02, coderrr wrote: > I'm a huge fan of one liners like: > x if y > > .. but sometimes it just doesn't fit on one line and you need to do > if x ... end. I usually find I can do this fairly neatly by breaking the line after the "if": x if y Two lines, no "end"! And if you *really* want to abuse it: foo(bar, baz ) if this && that && the_other It's not pretty and should probably be refactored but it's straightforward to type and not so hard to understand later. Regards, Jeremy Henty