Class: Inch::Evaluation::Role::Object::WithoutCodeExample

Inherits:
Missing
  • Object
show all
Defined in:
lib/inch/evaluation/role/object.rb

Overview

Role assigned to objects without a code example

Direct Known Subclasses

Constant::WithoutCodeExample

Instance Attribute Summary

Attributes inherited from Base

#object

Instance Method Summary collapse

Methods inherited from 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



136
137
138
# File 'lib/inch/evaluation/role/object.rb', line 136

def suggestion
  "Add a code example (optional)"
end