Is there a way to reference the RubyObject (sender) when in the scope of the object's metaclass during method lookup? Like in Smalltalk where you can reference the 'sender'? Or is there an intermediary (like Dispatcher or CompiledMethod) where both the sender and the metaclass are accessible during an invocation? I want to intercept the first message to a persistent object and switch its 'persistent' metaclass with the original, eliminating the duplicate.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to