![show/hide quicksearch [+]](../../images/find.png)
A mirror
Contains both the uri that should be used as a mirror and the
fallback timeout which will be used for probing if the mirror replies on time or not.
 
               # File bundler/mirror.rb, line 94
def ==(other)
  !other.nil? && uri == other.uri && fallback_timeout == other.fallback_timeout
end
             
             
               # File bundler/mirror.rb, line 82
def fallback_timeout=(timeout)
  case timeout
  when true, "true"
    @fallback_timeout = DEFAULT_FALLBACK_TIMEOUT
  when false, "false"
    @fallback_timeout = 0
  else
    @fallback_timeout = timeout.to_i
  end
  @valid = nil
end
             
             
               # File bundler/mirror.rb, line 73
def uri=(uri)
  @uri = if uri.nil?
    nil
  else
    Bundler::URI(uri.to_s)
  end
  @valid = nil
end