lib/inch/evaluation/role/method.rb in inch-0.2.2 vs lib/inch/evaluation/role/method.rb in inch-0.2.3
- old
+ new
@@ -70,9 +70,17 @@
# Role assigned to methods that are constructors
class Constructor < Base
end
+ # Role assigned to methods that are getters
+ class Getter < Base
+ end
+
+ # Role assigned to methods that are setters
+ class Setter < Base
+ end
+
# Role assigned to methods that are overriding another method
class Overridden < Base
# It seems more important to document the overridden method,
# than the overriding one
def priority