Class: Doubleshot::Resolver::GemResolver::Solver::ConstraintRow

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/doubleshot/resolver/gem_resolver/solver/constraint_row.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dependency, source) ⇒ ConstraintRow

Returns a new instance of ConstraintRow.

Parameters:



17
18
19
20
# File 'lib/doubleshot/resolver/gem_resolver/solver/constraint_row.rb', line 17

def initialize(dependency, source)
  @dependency = dependency
  @source = source
end

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source.



10
11
12
# File 'lib/doubleshot/resolver/gem_resolver/solver/constraint_row.rb', line 10

def source
  @source
end