From: Robert Klemme Date: 2009-04-28T05:25:16+09:00 Subject: Re: Block Style On 27.04.2009 19:11, Robert Dober wrote: > I have adapted a very simple rule for a long time now, if I use the > block for the side effect it is do..end, always. > If I use it for its return value it is { } always, (BTW thank you Rick ;). > But of course when I do side effects and use the return value I am > lost. I don't have the problem, because I always do this: > (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? :-) Kind regards robert