Class: Inch::Language::Nodejs::Evaluation::Role::Module::WithManyChildren

Inherits:
Base show all
Defined in:
lib/inch/language/nodejs/roles/module.rb

Overview

Role assigned to modules with many children

See Also:

  • CodeObject::Ruby::NamespaceObject#has_many_children?

Instance Attribute Summary

Attributes inherited from Evaluation::Role

#object

Instance Method Summary collapse

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, #score, #suggestion

Constructor Details

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

Instance Method Details

#priorityObject

+priority



32
33
34
# File 'lib/inch/language/nodejs/roles/module.rb', line 32

def priority
  +1
end