[Pharo-project] removeSelector:

Stéphane Ducasse stephane.ducasse at inria.fr
Wed Nov 24 14:25:58 CET 2010


We should check who uses it and remove it.
Ben open a ticket please.
BTW there is a pattern Move behavior close to data (and here methods are data so method touching them should be 
in Bhevaior and subclasses)
Stef

On Nov 24, 2010, at 8:13 AM, Noury Bouraqadi wrote:

> No, it is an ill-named method. The argument is not a selector, but an array. First argument is a class and the second.
> 
> Noury
> 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