This is a multi-part message in MIME format. ------ extPart_000_05D8_01C19833.2567D3C0 Content-Type: text/plain; charset so-8859-1" Content-Transfer-Encoding: quoted-printable I would like to have a finalizer for my class. I have seen the ObjectSpace.deifne_finalizer but it's not that useful because you cant access the object from in there. All you can get is the object id. I suppose I could keep a hash with a data object with all the details that I need to destroy my object, but it really doesn't seem like something I should need to do. Why is it that ruby does not support the normal OO style finailzers? Or is there some way to do this that I have overlooked? Regards Ralph ------ extPart_000_05D8_01C19833.2567D3C0 Content-Type: text/html; charset so-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4616.200" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>I would like to have a finalizer for my lass. I have seen the ObjectSpace.deifne_finalizer but it's not that useful because you cant access the object from in there. All you can get is the object id. I suppose I could keep a hash with a data object with all the details that I need to destroy my object, but it really doesn't seem like something I should need to do.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Why is it that ruby does not support the normal OO style finailzers? Or is there some way to do this that I have overlooked?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Regards</FONT></DIV> <DIV><FONT face=Arial size=2>Ralph</FONT></DIV></BODY></HTML> ------ extPart_000_05D8_01C19833.2567D3C0--