From: Dave Thomas Date: 2002-04-12T06:56:24+09:00 Subject: Re: Is this behavior correct? David Alan Black 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