Question about initialize

Marcus Denker denker at iam.unibe.ch
Tue Nov 23 11:03:24 UTC 2004


Am 23.11.2004 um 11:48 schrieb Joseph Frippiat:

> Hi,
>
> What is the utility to have 2 initialize methods, one for the class 
> and one
> for the instance.  When are they called ?
>
>

The instance initialize is called when instanciating the class (new 
sends
self initialize).

And the class-side initialize is called when  fileing in a  changeset 
or loading
a monticello package.

     Marcus




More information about the Squeak-dev mailing list