From: Florian Gross Date: 2004-09-10T05:15:06+09:00 Subject: Re: Problem with ensuring consistency .. Finalization?? Charles Hixson wrote: > I'm considering: > def initialize () > ... > ObjectSpace.define_finalizer(@@words, proc { flush }) > > But I don't know how to evaluate whether it's a good idea or not...or > even how to tell afterwards (presuming it doesn't throw a "compile-time" > error). What about using at_exit? Regards, Florian Gross