Rehoming obsolete instances
Keith Hodges
keith_hodges at yahoo.co.uk
Tue Oct 2 10:14:26 UTC 2007
Keith Hodges wrote:
> Hello,
>
> Is there a simple way of rehoming obsolete instances?
>
> Keith
>
>
ok .. I sussed it.
ClassDescription class-#fixObsoleteInstances
([ self nonObsoleteClass ] ifError: [ ^ false ]) updateInstancesFrom: self.
^ true
"
SystemNavigation default obsoleteBehaviors reject: [ :c | c
fixObsoleteInstances ].
"
More information about the Squeak-dev
mailing list
|