#initialize and MC
Mathieu
mathk.sue at gmail.com
Sat Sep 16 18:50:02 UTC 2006
Damien Cassou a écrit :
> It seems #initialize (on the class side) is called by Monticello only if
> implemented in the class directly. Am I right ?
>
> I want the same initialization code to be launched for a class and all
> its subclasses. It is possible to do this without copy-pasting ? Maybe
> with Traits. Nothing simple ?
>
> It's very strange that #initialize is only called for the implementing
> class, I don't understand why.
>
> Bye
>
You can test:
initialize
super initialize
More information about the Squeak-dev
mailing list
|