Class
The BestSet
chooses the best available method to query a remote index.
It combines IndexSet and APISet
Class Methods
lib/rubygems/resolver/best_set.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/rubygems/resolver/best_set.rb, line 13
def initialize(sources = Gem.sources)
super()
@sources = sources
end
Creates a BestSet
for the given sources
or Gem::sources
if none are specified. sources
must be a Gem::SourceList
.