Class: Inch::Evaluation::Role::MethodParameter::WithWrongMention

Inherits:
Inch::Evaluation::Role::Missing show all
Defined in:
lib/inch/evaluation/role/method_parameter.rb

Instance Attribute Summary

Attributes inherited from Base

#object

Instance Method Summary collapse

Methods inherited from Inch::Evaluation::Role::Missing

#potential_score, #score

Methods inherited from Base

#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

#priorityObject



33
34
35
# File 'lib/inch/evaluation/role/method_parameter.rb', line 33

def priority
  +1
end

#suggestionObject



30
31
32
# File 'lib/inch/evaluation/role/method_parameter.rb', line 30

def suggestion
  "The parameter '#{object.name}' seems not to be part of the signature."
end