method

new

ruby latest stable - Class: Gem::Resolver
new(needed, set = nil)
public

Create Resolver object which will resolve the tree starting with needed Dependency objects.

set is an object that provides where to look for specifications to satisfy the Dependencies. This defaults to IndexSet, which will query rubygems.org.