Class: Inch::Evaluation::Role::Object::Alias

Inherits:
Base
  • Object
show all
Defined in:
lib/inch/evaluation/role/object.rb

Overview

Role assigned to objects that are aliases.

Instance Attribute Summary

Attributes inherited from Base

#object

Instance Method Summary collapse

Methods inherited from Base

applicable?, applicable_if, applicable_unless, #initialize, #max_score, #min_score, #object_type, #potential_score, #score, #suggestion

Constructor Details

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

Instance Method Details

#priorityObject



11
12
13
14
15
# File 'lib/inch/evaluation/role/object.rb', line 11

def priority
  # not sure about this yet,
  # but aliases should not show up high in the reports
  -7
end