lib/inch/evaluation/role/object.rb in inch-0.3.3 vs lib/inch/evaluation/role/object.rb in inch-0.3.4.rc1

- old
+ new

@@ -1,9 +1,21 @@ module Inch module Evaluation module Role # Roles assigned to all objects module Object + # Role assigned to objects that are aliases. + # + class Alias < Base + applicable_if :alias? + + def priority + # not sure about this yet, + # but aliases should not show up high in the reports + -7 + end + end + # Role assigned to objects with a describing comment (docstring) class WithDoc < Base applicable_if :has_doc? end