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

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

Overview

Role assigned to namespaces without any methods

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


58
59
60
# File 'lib/inch/language/ruby/roles/namespace.rb', line 58

def priority
  -2
end