From: John Joyce Date: 2007-09-29T01:34:16+09:00 Subject: Re: how to do "do" blocks > > However, there's some lines of thought on the internet that have a > different idea. What do you think of the idea that it's not "one line > vs. multiline" but "returns a value vs. doesn't return a value". All Ruby blocks (and methods) return a value. They return the value of the last statement in the block. But only if you explicitly use it. Assign it to something, or use return if you want it to be obvious. The convention is simply {} for one-line do-end for multi-line You don't have to follow these rules. It is up to you.