Class: Solve::Solver::ConstraintRow
- Inherits:
-
Object
- Object
- Solve::Solver::ConstraintRow
- Extended by:
- Forwardable
- Defined in:
- lib/solve/solver/constraint_row.rb
Overview
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(dependency, source) ⇒ ConstraintRow
constructor
A new instance of ConstraintRow.
Constructor Details
#initialize(dependency, source) ⇒ ConstraintRow
Returns a new instance of ConstraintRow.
15 16 17 18 |
# File 'lib/solve/solver/constraint_row.rb', line 15 def initialize(dependency, source) @dependency = dependency @source = source end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
8 9 10 |
# File 'lib/solve/solver/constraint_row.rb', line 8 def source @source end |