Method: Bundler::Settings::Mirrors#initialize
- Defined in:
- lib/bundler/mirror.rb
permalink #initialize(prober = nil) ⇒ Mirrors
Returns a new instance of Mirrors.
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 |