(Newbee) Thoughts about removing class with code
Alexandre Bergel
bergel at iam.unibe.ch
Tue Nov 15 07:08:40 UTC 2005
> className := 'myClass'.
Something like this should work:
Smalltalk at: className asSymbol ifPresent: [:c| c removeFromSystem]
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
More information about the Squeak-dev
mailing list
|