ObjectSpace methods understanding

Can anyone give me a good example to understand this method ?

ObjectSpace::define_finalizer(obj, aProc=proc())

http://www.mikeperham.com/2010/02/24/the-trouble-with-ruby-finalizers/