David Alan Black <dblack / candle.superlink.net> writes:

> So the second Bar.new has no argument, and the ("Beta") is just sort
> of sitting there.  I'm not sure of the exact formulation of the
> rule...  (see Pickaxe), but the newline will be significant (end of
> statement) generally unless the line ends with a binary operator.

Basically whenever Ruby knows that it's in the middle of something (an
expression, a parameter list, etc, or immediately following a
backslash, newlines are ignored. Otherwise they terminate the
statement.


Cheers


Dave