From: David Alan Black Date: 2002-04-12T09:36:20+09:00 Subject: Re: Is this behavior correct? Hi -- On Fri, 12 Apr 2002, Dave Thomas wrote: > 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. I *knew* I was being too barebones :-) David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav