>>>>> "D" == David Leal <david / jazznet.pt> writes:

D> define_finalizer( obj, proc { |id| _id2ref( id ).close  }

 You don't need it, ruby will try to close the object when it's garbage
collected. 


Guy Decoux