From: Charles O Nutter Date: 2006-08-29T02:14:19+09:00 Subject: Re: Legal operator symbols ------=_Part_85442_28831182.1156785257288 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/28/06, Joel VanderWerf wrote: > > I don't know why (maybe a parser issue, or maybe := has been reserved > for future assignment syntax), but you can always use > > :"=" > > to denote that symbol. It's a parser thing. The parser uses the presence of = to know whether to declare or assign a variable. I'm not sure how you'd get around that, unless you had = be a method on Kernel that instantiates a variable in an appropriate scope. Still, it would be very weird. It's a bit like . or , or () in that regard, which are also un-modifiable operators. -- Contribute to RubySpec! @ www.headius.com/rubyspec Charles Oliver Nutter @ headius.blogspot.com Ruby User @ ruby.mn JRuby Developer @ www.jruby.org ------=_Part_85442_28831182.1156785257288--