From: Nat Pryce Date: 2002-07-12T20:01:26+09:00 Subject: Re: Destructors in Ruby > Is there any way I can ensure that 'unlock' will be called at the end of > instance lifetime (before GC will purge it out of mem)? I need this > feature because I can't leave the external resource locked and I can't > trust to other code to release (unlock) it correctly. See: http://www.rubygarden.org/ruby?DiscussionOnUsingFinalizers Cheers, Nat. ________________________________ Dr. Nathaniel Pryce B13media Ltd. Studio 3a, Aberdeen Business Centre, 22/24 Highbury Grove, London, N5 2EA http://www.b13media.com