Method: Gem::Resolver::LockSet#initialize

Defined in:
lib/rubygems/resolver/lock_set.rb

#initialize(sources) ⇒ LockSet

Creates a new LockSet from the given sources



12
13
14
15
16
17
18
19
20
# File 'lib/rubygems/resolver/lock_set.rb', line 12

def initialize(sources)
  super()

  @sources = sources.map do |source|
    Gem::Source::Lock.new source
  end

  @specs = []
end