Afficher un message
Vieux 22/02/2008, 11h44   #6
Stephane Wirtel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
 
Page generated in 0,04336 seconds with 9 queries