Joel VanderWerf wrote:

> Charles Hixson wrote:
>
>> Austin Ziegler wrote:
>
> ...
> ...
> IIRC, Kernel#at_exit has the same functionality, but you can call it 
> from a method in your class.
>
> class C
>   def foo
>     at_exit do
>       puts "Done!"
>     end
>   end
> end
>
>
Thanks!  That's JUST what I was looking for.