Hello,

I have created a class which will have many subclasses some of which will have subclasses of their own.

I want every single class to implement a class method #shortName which will provide a short string as a human readable short identifier to the object.

I have in the highest superClass


shortName

    self subclassResponsibility


But the moment I implement it in a subclass which has subclasses. Those subclasses are now using their closest superClasses implementation.

Is there a way force allSubclasses to implement the method?


Thanks.


Jimmie

Reply via email to