From: Tim Hunter Date: 2007-12-27T02:18:37+09:00 Subject: Re: Destroying an Object Ken A. wrote: > Tim Hunter wrote: >> Ken Awamura wrote: >>> Suppose I create a new object: >>> >>> p = new Object >>> >>> How can I kill/destroy this object forever? >> First, it's >> >> p = Object.new >> >> Second, you can't. Ruby automatically cleans up an object when there is >> no more references to it. > > Does ruby's garbage collector really work, or it's as lame as .NET > garbage collector? It really works. -- RMagick: http://rmagick.rubyforge.org/