On Thu, Sep 1, 2011 at 10:08 PM, Lukas Renggli <[email protected]> wrote:
> >> Today: RBSubclassResponsibilityNotDefinedRule > > > > This rules identifies when several methods in a set of subclasses are > defined but not in the superclass. > > It identifies that an abstract method is missing in the superclass. > > Checks that all subclassResponsibility methods are defined in all > leaf classes. > > Note that each of the 120 subclasses of RBLintRule has a method called > #rationale that describes its intent. There are even tests that verify > this. Of course the string is not a class comment, but something to be > displayed in the code critics browser. Still I note a certain degree > of overlap ... > I wonder, we may just comment RBLintRule. Then wouldn't it be nice that class browser, when displaying a class without comment, goes up in the hierarchy up to Object (excluded) to get the first comment found ? Laurent. > > Lukas > > -- > Lukas Renggli > www.lukas-renggli.ch > >
