overridding without subclassing examples

Lukas Renggli renggli at gmail.com
Wed Sep 19 06:42:26 UTC 2007


> oldMethod := Morph methodDictionary at: #isMorph.
> Morph methodDictionary at: #isMorph put: newCompiledMethod.

Or use Classboxes [1] to solve this problem automatically.

Lukas

[1] http://www.iam.unibe.ch/~scg/Research/Classboxes/


-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list