Hi,

> From: Dave Thomas
> Sent: Saturday, January 06, 2001 3:36 PM

> > 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:
> 
> The style I've come to is to use do/end for multi-line blocks, and
> braces for single lines (where do/end seems to my eyes to be too much
> noise).

It's my turn.
value = {} if expecting its value, do/end if not.

Ex1.

  t = Thread.new {
    ...working...
  }

  Thread.new do
    sleep 60
    p 'timeout!'
  end

  t.join

Ex2.

  [ 1, 2, 3 ].collect { |n|
    n ** 2
  }.each do |n|
    p n
  end

// NaHi