class Bundler::Settings::Mirrors

def for(uri)

mirror that points to the provided uri
Depending on the uri having a valid mirror or not, it may be a

Returns a mirror for the given uri.
def for(uri)
  if @all.validate!(@prober).valid?
    @all
  else
    fetch_valid_mirror_for(Settings.normalize_uri(uri))
  end
end