[Pharo-project] removeSelector:

Noury Bouraqadi bouraqadi at gmail.com
Wed Nov 24 08:12:02 CET 2010

No, it is an ill-named method. The argument is not a selector, but an array. First argument is a class and the second.
On 23 nov. 2010, at 12:48, Benjamin wrote:

> 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

More information about the Pharo-project mailing list