Class: Inch::Evaluation::Role::MethodParameter::Block

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

Overview

Role assigned to parameters that are blocks, e.g. &block

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



57
58
59
# File 'lib/inch/evaluation/role/method_parameter.rb', line 57

def priority
  +1
end