> it seems like you should be able to define a finalizer on any object > without preventing it from being gc'd! The only way I am aware of is to use methods ... ObjectSpace.define_finalizer(obj, &method(:my_finalizer)) -- Sylvain Joyeux http://www.laas.fr/~sjoyeux