From: Jamis Buck Date: 2004-01-18T09:52:26+09:00 Subject: Re: long expression syntax Gavin Sinclair wrote: > >== and + (among others) are methods, not operators. > >Gavin > > You are, of course, correct. However, I still stand by my statement that == and + are also operators, since they have a precedence and associativity, which your run-of-the-mill 'method' does not have. Also, it makes it easier to remember where you can and cannot put newlines. -- Jamis Buck jgb3@email.byu.edu ruby -h | ruby -e 'a=[];readlines.join.scan(/-(.)\[e|Kk(\S*)|le.l(..)e|#!(\S*)/) {|r| a << r.compact.first };puts "\n>#{a.join(%q/ /)}<\n\n"'