[Newbies] Most elegant way to delete instances

Giuseppe Luigi Punzi Ruiz glpunzi at lordzealon.com
Sun Sep 14 18:15:52 UTC 2008


Hi,

I need to delete all the instances of a class. I would like to know,  
wich is the best way to do this.

I'm trying this:
IGCompany allInstances do: [ :each | each := nil].

But this, doesn't works.

All help is appreciated.

Cheers.


More information about the Beginners mailing list