lib/inch/language/javascript/roles/function.rb in inch-0.6.0.rc1 vs lib/inch/language/javascript/roles/function.rb in inch-0.6.0.rc2
- old
+ new
@@ -79,14 +79,16 @@
end
# Role assigned to methods that are getters
class Getter < Base
applicable_if :getter?
+ priority -1
end
# Role assigned to methods that are setters
class Setter < Base
applicable_if :setter?
+ priority -1
end
# Role assigned to methods that are overriding another method
class Overridden < Base
applicable_if :overridden?