From: Charles O Nutter Date: 2006-08-29T04:03:16+09:00 Subject: Re: Legal operator symbols ------=_Part_88292_16799208.1156791792618 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/28/06, Joel VanderWerf wrote: > > That's true, but there is this strangeness: > > irb(main):020:0> x = [] > => [] > irb(main):021:0> class < => 4 And then: irb(main):003:0> x.send(:"=") => 4 irb(main):004:0> x => [] You can define a method using the :"=" symbol, but it will never be called in response to =. -- > vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407 > > -- Contribute to RubySpec! @ www.headius.com/rubyspec Charles Oliver Nutter @ headius.blogspot.com Ruby User @ ruby.mn JRuby Developer @ www.jruby.org ------=_Part_88292_16799208.1156791792618--