Class: Inch::Evaluation::Role::MethodParameter::WithWrongMention
- Defined in:
- lib/inch/evaluation/role/method_parameter.rb
Overview
Role assigned to parameters that are documented, but not part of the method signature
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
applicable?, applicable_if, applicable_unless, #initialize, #max_score, #min_score, #object_type, #potential_score, #score
Constructor Details
This class inherits a constructor from Inch::Evaluation::Role::Base
Instance Method Details
#priority ⇒ Object
73 74 75 |
# File 'lib/inch/evaluation/role/method_parameter.rb', line 73 def priority +1 end |
#suggestion ⇒ Object
69 70 71 |
# File 'lib/inch/evaluation/role/method_parameter.rb', line 69 def suggestion "The parameter '#{object.name}' seems not to be part of the signature." end |