Tech W. wrote:
> Does ruby have a DESTROY method in its class? like,
>
> class Myclass
>    def DESTROY
>       something
>    end
> end

Take a look at finalizers[1]

Edward

1. http://ruby-doc.org/core/classes/ObjectSpace.html