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

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

Overview

A ‘pure’ namespace has only namespaces as 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



67
68
69
# File 'lib/inch/language/ruby/roles/namespace.rb', line 67

def priority
  -2
end