Class: Inch::Language::Nodejs::Evaluation::Role::Object::WithoutCodeExample

Inherits:
Missing show all
Defined in:
lib/inch/language/nodejs/roles/object.rb

Overview

Role assigned to objects without a code example

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



67
68
69
# File 'lib/inch/language/nodejs/roles/object.rb', line 67

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