Class: Inch::Evaluation::Role::Object::Public
- Defined in:
- lib/inch/evaluation/role/object.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #max_score, #min_score, #object_type, #potential_score, #score, #suggestion
Constructor Details
This class inherits a constructor from Inch::Evaluation::Role::Base
Instance Method Details
#priority ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/inch/evaluation/role/object.rb', line 33 def priority if object.type == :constant -1 else +2 end end |