On 2/20/07, Robert Klemme <shortcutter / googlemail.com> wrote:
> On 20.02.2007 01:00, Austin Ziegler wrote:
> > There is no meaningful concept of a destructor in Ruby. There are
> > finalizers, but they're not guaranteed to be called.
> Are you sure about that?  I know the statement to be true for Java but
> in which situation (other than an interpreter crash) is a finalizer not
> invoked?

I recall reading a few things over the last couple of years. On
program termination, I think they will be called, but things could
happen to keep an object around a lot longer than you think -- which
means that it's not something to trust.

-austin
-- 
Austin Ziegler * halostatue / gmail.com * http://www.halostatue.ca/
               * austin / halostatue.ca * http://www.halostatue.ca/feed/
               * austin / zieglers.ca