Class: Inch::Language::Nodejs::Evaluation::Role::FunctionParameter::WithWrongMention
- Inherits:
-
Base
- Object
- Evaluation::Role
- Base
- Inch::Language::Nodejs::Evaluation::Role::FunctionParameter::WithWrongMention
- Defined in:
- lib/inch/language/nodejs/roles/function_parameter.rb
Overview
Role assigned to parameters that are documented, but not part of the method signature
Instance Attribute Summary
Attributes inherited from Evaluation::Role
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Evaluation::Role
applicable?, applicable_if, applicable_unless, #initialize, #max_score, #min_score, #object_type, #potential_score, priority, #priority, #score
Constructor Details
This class inherits a constructor from Inch::Evaluation::Role
Instance Method Details
#suggestion ⇒ Object
66 67 68 69 |
# File 'lib/inch/language/nodejs/roles/function_parameter.rb', line 66 def suggestion "The parameter '#{object.name}' seems not to be part of the " \ 'signature.' end |