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.
Creates a new Source
which will use the index located at uri
.
Creates a new SourceList
Creates a new SpecFetcher
. Ordinarily you want to use the default fetcher from Gem::SpecFetcher::fetcher
which uses the Gem.sources
.
If you need to retrieve specifications from a different source
, you can send it as an argument.
Constructs an uninstaller that will uninstall gem
Creates a new URI
formatter for uri
.
Creates a new StreamUI
wrapping in_stream
for user input, out_stream
for standard output, err_stream
for error output. If usetty
is true then special operations (like asking for passwords) will use the TTY commands to disable character echo.
The Console UI has no arguments as it defaults to reading input from stdin, output to stdout and warnings or errors to stderr.
The SilentUI
has no arguments as it does not use any stream.