Class: Inch::Language::Elixir::Evaluation::Role::FunctionParameter::WithoutMention

Inherits:
Missing show all
Defined in:
lib/inch/language/elixir/roles/function_parameter.rb

Overview

Role assigned to parameters that are not mentioned in the docs

See Also:

  • CodeObject::Ruby::MethodParameterObject#mentioned?

Instance Attribute Summary

Attributes inherited from Evaluation::Role

#object

Instance Method Summary collapse

Methods inherited from Missing

#potential_score, #score

Methods inherited from Base

#object_type

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

#suggestionObject


28
29
30
# File 'lib/inch/language/elixir/roles/function_parameter.rb', line 28

def suggestion
  "Describe the parameter '#{object.name}'"
end