Class: Inch::Language::Ruby::Evaluation::Role::Method::WithoutReturnDescription

Inherits:
Inch::Language::Ruby::Evaluation::Role::Missing show all
Defined in:
lib/inch/language/ruby/roles/method.rb

Overview

Role assigned to methods where the return value is not decribed

Instance Attribute Summary

Attributes inherited from Evaluation::Role

#object

Instance Method Summary collapse

Methods inherited from Inch::Language::Ruby::Evaluation::Role::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



45
46
47
# File 'lib/inch/language/ruby/roles/method.rb', line 45

def suggestion
  "Describe what '#{object.name}' returns"
end