diff --git a/src/Renraku/ReProperMethodProtocolNameRule.class.st b/src/Renraku/ReProperMethodProtocolNameRule.class.st index b16bc0dd9f8..70914069b4f 100644 --- a/src/Renraku/ReProperMethodProtocolNameRule.class.st +++ b/src/Renraku/ReProperMethodProtocolNameRule.class.st @@ -61,10 +61,8 @@ ReProperMethodProtocolNameRule class >> rationale [ { #category : 'accessing' } ReProperMethodProtocolNameRule class >> ruleName [ - ^ 'Method categorization: use ''' - , self class goodMethodProtocolName - , ''' as protocol name instead of ''' - , self methodProtocolName asString , '''' + + ^ 'Method categorization: use ''' , self goodMethodProtocolName , ''' as protocol name instead of ''' , self badMethodProtocolNames asString , '''' ] { #category : 'private - utilities' } @@ -109,6 +107,12 @@ ReProperMethodProtocolNameRule >> methodProtocolName: anObject [ methodProtocolName := anObject ] +{ #category : 'accessing' } +ReProperMethodProtocolNameRule >> ruleName [ + + ^ 'Method categorization: use ''' , self class goodMethodProtocolName , ''' as protocol name instead of ''' , self methodProtocolName asString , '''' +] + { #category : 'private - utilities' } ReProperMethodProtocolNameRule >> use: valid insteadOf: arrayOfInvalid [ "Instead of directly creating an array we use this utility method for better readability in senders of this method"