lib/inch/evaluation/role/method.rb in inch-0.1.0 vs lib/inch/evaluation/role/method.rb in inch-0.1.1
- old
+ new
@@ -20,10 +20,15 @@
# +priority
def priority
+3
end
end
+ class WithQuestioningName < Base
+ def priority
+ -4
+ end
+ end
class HasAlias < Base
# +priority
def priority
+2
end
@@ -31,10 +36,10 @@
class WithReturnType < Base
end
class WithoutReturnType < Missing
def suggestion
- "Describe the return type of '#{object.name}'"
+ "Describe what '#{object.name}' returns"
end
end
class Overridden < Base
# It seems more important to document the overridden method,