* Anders Engströí <aengstrom / gnejs.net>:
> Hi.
>
> I want to get a callback whenever an object is created in the vm. To do
> this I have overridden 'Class.new', and it works as long as objects are
> created through Object.new. But - I also want to get callbacks when
> objects are created during unmarshalling of serialized data.. I thought
> that I could override Class.allocate to get a callback when this happens
> - but I never get the callback.
>
> Is this a bug?
>

[snip script]

2 fast 2 furious... I forgot one crucial piece of information:

ruby 1.8.1 (2004-02-03) [i386-linux]

//Anders