Changing the Class of an Object

Andres Valloud avalloud at exobox.com
Thu Dec 14 01:38:50 UTC 2000


Hi.

> I've been looking at porting to Squeak some cunning code written by
> Stephane Ducasse.  The idea is to intercept messages sent to a
> particular object by creating for that object a rudimentary class
> (actually a subclass of Behavior) that inherits from the objects real
> class but has new definitions for the intercepted messages.  These
> definitions can do super-sends to get the normal behavior.

Well... I don't know anything about it, but check

http://mathmorphs.swiki.net/6

Andres.





More information about the Squeak-dev mailing list