Stephane Wirtel
3/1/2007 8:50:00 AM
Guillaume Nargeot wrote:
>> Please look in the archives; this was just discussed last week.
>>
>> In short, you can write a finalizer, but you'll never use it because
>> it may not be called. If you must release resources when your object
>> is destroyed, ensure that you provide a block form (like File.open).
>>
>> -austin
>
> Sorry, but I don't know were to find these archives... I thought I found
> them on the internet, but I didn't find anything into them by searching
> for "destructor" or "finalizer". Even by filtering this newsgroup topics
> with these words I can't find anything since the 2007-02-16.
>
> Can you tell me where I can find this discussion please ?
With google,
ObjectSpace.define_finalize