Robert Gustavsson wrote:

>The construction below does not work:
>------------------------
>a = 10
>{
>  print a, "\n"
>  a -= 1
>} while a > 0

As others have pointed out, { } is not intended 
to be used in this way.

I've been trying to develop my own Ruby style. 
Since I came from a C++ world, I realized that 
the curly braces (with dramatically different 
meaning) would be confusing to me. So I don't use 
them. Ever. I always use do/end, formatted like 
this:

planets.each do
  | planet |
  # stuff goes here
end

It seems clean to me, so I'll keep doing it 
unless/until I see a coding standard that I like 
better.

Kevin