Hi Tridib,

You'll want to look into finalizers then. Be warned- they aren't the 
easiest things to work with.

Garth

On 22/12/11 13:21, Tridib Bandopadhyay wrote:
> Hello
>
> Can anyone tell me how to check an object is and when it is freed by
> Garbage Collector?
>
> Ruby Version- 1.8.6
>
> Regards
>
> Tridib
>