From: Paul Brannan Date: 2005-10-22T03:40:26+09:00 Subject: Re: Removing a class for good from ObjectSpace On Sat, Oct 22, 2005 at 03:09:57AM +0900, Florian Weber wrote: > Ah! cool! thanks! that works. But unfortunately I can't use it like > that. the original class definition is done in another way, I can't do > it with eval and/or inside a method. Can you think of any other ways? Do not depend on the garbage collector's behavior in this way. The class will eventually be collected once there are no longer any leftovers on the stack. Paul