Deleting objects?

If you keep a reference to an object -- no way you can dispose it. On
the other hand, even when there's no references, Ruby will dispose an
object on its own will (and need). You can try calling GC.start, however
it is not guraranteed that unreferenced objects will be disposed
immediatelly (it always worked for me, though).

Gennady.

···

-----Original Message-----
From: Paatsch, Bernd [mailto:BPaatsch@activevoice.com]
Sent: Wednesday, February 15, 2006 12:49
To: ruby-talk ML
Subject: Deleting objects?

Hello,

My little program works one. However fails when I add a loop
two run it multiple times with different input data.

I believe this might be due to objects that have not been
delete. Is there a way to delete objects other than setting
the variable to nil?

-Bernd