Class: Inch::Language::Ruby::Evaluation::Role::Namespace::WithManyAttributes

Inherits:
Base
  • Object
show all
Defined in:
lib/inch/language/ruby/roles/namespace.rb

Overview

Role assigned to namespaces with many attributes

See Also:

  • CodeObject::Ruby::NamespaceObject#has_many_attributes?

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


44
45
46
# File 'lib/inch/language/ruby/roles/namespace.rb', line 44

def priority
  +1
end