[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

become: method

Pierre Jacoboni

10/21/2003 12:23:00 PM

In Smalltalk we can use the method become: to turn object A into object B.
A will be turned into a instance of B class and all previous references to A will now refer to B.
Is this possible in Ruby

-------------
Pierre Jacoboni
===============================================================
- L.I.U.M - tel : 02 4383 3842 - fax : 02 4383 3868
UNIVERSITE DU MAINE - Avenue Olivier Messiaen - 72085 LE MANS CEDEX 9
===============================================================
mailto:Pierre.Jacoboni@univ-lemans.fr

1 Answer

ts

10/21/2003 12:36:00 PM

0

>>>>> "P" == Pierre Jacoboni <Pierre.Jacoboni@univ-lemans.fr> writes:

P> Is this possible in Ruby

See [ruby-talk:19761]

Guy Decoux

p.s. : apparently the gateway news ==> ruby-talk is broken