[Newbies] Searching senders of a method

Bert Freudenberg bert at freudenbergs.de
Sat Mar 3 12:56:38 UTC 2012


On 03.03.2012, at 13:44, deejay220989 wrote:

> Hi,
> 
> May I know the difference between:
> 
> SystemNavigation default allCallsOn: #subclassResponsibility
> and
> ProtoObject allCallsOn: #subclassResponsibility
> 
> It seems that "ProtoObject allCallsOn: #subclassResponsibility" returns 3
> results lesser than "SystemNavigation default allCallsOn:
> #subclassResponsibility"
> 
> Shouldn't they return the same result since ProtoObject is the superclass of
> all classes?


In my image, this returns an empty collection:

	ProtoObject allCallsOn: #subclassResponsibility

Which is unsurprising, since ProtoObject has no methods that send #subclassResponsibility.

- Bert -




More information about the Beginners mailing list