Class: Inch::Evaluation::Role::Method::WithoutReturnDescription

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

Overview

Role assigned to methods where the return value is not decribed

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

applicable?, applicable_if, applicable_unless, #initialize, #max_score, #min_score, #object_type, #potential_score, #priority, #score

Constructor Details

This class inherits a constructor from Inch::Evaluation::Role::Base

Instance Method Details

#suggestionObject



44
45
46
# File 'lib/inch/evaluation/role/method.rb', line 44

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