[Pharo-project] removeSelector:

Benjamin benjamin.vanryseghem.pharo at gmail.com
Tue Nov 23 12:48:21 CET 2010


Hello guys,

regarding that comment of SmalltalkImage>>#removeSelector: is

"Safely remove a selector from a class (or metaclass). If the
	class or the method doesn't exist anymore, never mind and
	answer nil.
	This method should be used instead of 'Class removeSelector:
	#method' to omit global class references."

maybe Behavior>>#removeSelector: sould be deprecated ?


Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20101123/4c758135/attachment.htm>


More information about the Pharo-project mailing list