become: method

P

Pierre Jacoboni

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:p[email protected]
 
T

ts

P> Is this possible in Ruby

See [ruby-talk:19761]

Guy Decoux

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,138
Messages
2,570,803
Members
47,349
Latest member
jojonoy597

Latest Threads

Top