Method: Bundler::Settings::Mirrors#initialize

Defined in:
lib/bundler/mirror.rb

#initialize(prober = nil) ⇒ Mirrors

Returns a new instance of Mirrors.

[View source]

12
13
14
15
16
# File 'lib/bundler/mirror.rb', line 12

def initialize(prober = nil)
  @all = Mirror.new
  @prober = prober || TCPSocketProbe.new
  @mirrors = {}
end