method

new

ruby latest stable - Class: Gem::Resolver::BestSet
new(sources = Gem.sources)
public

Creates a BestSet for the given sources or Gem::sources if none are specified. sources must be a Gem::SourceList.