From: matz@... (Yukihiro Matsumoto) Date: 2000-08-02T01:18:52+09:00 Subject: [ruby-talk:04298] Re: ObjectSpace.add_finalizer more... Hi, In message "[ruby-talk:04288] ObjectSpace.add_finalizer more..." on 00/08/01, Robert Feldt writes: |It could be really useful to have | |ObjectSpace.call_finalizer_for_classes([aClassOrMod]) | |if it's not in there. What do you think? require 'final' # built in after 1.6 class Foo Foo_Final = proc{|id|...} def initialize ObjectSpace.define_finalizer(obj, Foo_Final) end end matz.