Subject: Re: Arrow operator with dash instead of equals (->)
From: Gary Wright <wright_gary_r sbcglobal.net>
Date: Mon, 23 Apr 2007 09:52:20 +0900
References: 248744248747248750
In-reply-to: 248750
On Apr 22, 2007, at 8:15 PM, Andrew Green wrote:
> o is there no way to make '->' an operator and define its behavior?
No. Ruby does not support user defined operators.
> If not, what about '=>'?
No, '=>' is not an operator in Ruby.