From: ts Date: 2001-06-26T22:57:25+09:00 Subject: [ruby-talk:16893] Re: finalizers, destructors and whatnot >>>>> "t" == ts writes: >>>>> "D" == David Leal writes: D> define_finalizer( obj, proc { |id| _id2ref( id ).close } t> You don't need it, ruby will try to close the object when it's garbage t> collected. I've forgotten to say if it's an IO object Guy Decoux