Hi,
In message "[ruby-talk:04288] ObjectSpace.add_finalizer more..."
on 00/08/01, Robert Feldt <feldt / ce.chalmers.se> 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.