From: James Gray Date: 2009-04-28T07:05:31+09:00 Subject: Re: Block Style On Apr 27, 2009, at 3:25 PM, Robert Klemme wrote: > On 27.04.2009 19:11, Robert Dober wrote: >> (I guess that it is {} for one liners and do end otherwise than) > > One liner and multi liner is actually exclusive, which cannot be > said of return value and side effects. Maybe my sticking to the > syntactical convention is the reason why I never bother to think > about which rules to use. James, maybe that can ease your "pain" as > well? :-) It's definitely easier, but it can lead to less pretty code too, like: whatevery.map do |e| # multiple lines of calculation here... end.find { ... } That's one reason why I was looking into the other option. James Edward Gray II