Class: Equalshares::TieBreaker::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/equalshares/tie_breaker.rb

Overview

Cost/approver lookups a strategy needs. cost is the rule's numeric cost map.

Instance Attribute Summary collapse

Instance Attribute Details

#approversObject

Returns the value of attribute approvers

Returns:

  • (Object)

    the current value of approvers



10
11
12
# File 'lib/equalshares/tie_breaker.rb', line 10

def approvers
  @approvers
end

#costObject

Returns the value of attribute cost

Returns:

  • (Object)

    the current value of cost



10
11
12
# File 'lib/equalshares/tie_breaker.rb', line 10

def cost
  @cost
end