Hi,
In message "[ruby-talk:10026] Loading/Unloading classes."
on 01/01/29, Anders Strandl ElkjëÓ <ase / cs.auc.dk> writes:
| Is it possible to dynamically load and unload classes (completely) in
|Ruby. So that I, at runtime, can load new class definitions, use them and
|then dump the classes later and let them clear out as the instances of the
|class disappear?
use load or eval to define classes; use remove_const to undefine them.
matz.