Hi Tridib, Try "Ruby finalizers" and "Ruby define_finalizer" in Google- this should be a good starting point if you want to investigate further. :) Also: Vimal's reply is a really good one, far better than mine. I'd *definitely* suggest reading through that. :) Garth On 23/12/11 14:26, Tridib Bandopadhyay wrote: > Garthy D wrote in post #1037805: >> Hi Tridib, >> >> You'll want to look into finalizers then. Be warned- they aren't the >> easiest things to work with. >> >> Garth > > Hello.. Thanks for the reply > > Sorry But I didn't get what you meant by finalizers. Where can I find > it? > > Regards > > Tridib >