Re: How to define the assignment operator in Ruby ?
> The desire to override assignment or define an assignment operator is
> generally indicative of some misunderstanding regarding Ruby's object
> model.
It's not a misunderstanding, I wanted to be sure that it was not
possible to do it.
I had a doubt because I discussed with a friend about python and this
operator, and he tells me that is possible to override it.
Today, after googling, my friend tells me that's not possible to
override this operator ;-)
>
> Gary Wright
Thanks
Stephane
|