Class: Equalshares::TieBreaker::Context
- Inherits:
-
Struct
- Object
- Struct
- Equalshares::TieBreaker::Context
- 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
-
#approvers ⇒ Object
Returns the value of attribute approvers.
-
#cost ⇒ Object
Returns the value of attribute cost.
Instance Attribute Details
#approvers ⇒ Object
Returns the value of attribute approvers
10 11 12 |
# File 'lib/equalshares/tie_breaker.rb', line 10 def approvers @approvers end |
#cost ⇒ Object
Returns the value of attribute cost
10 11 12 |
# File 'lib/equalshares/tie_breaker.rb', line 10 def cost @cost end |