Parent

Methods

class Gem::GemRunner

Gem::GemRunner is only intended for internal use by RubyGems itself. It does not form any public API and may change at any time for any reason.

If you would like to duplicate functionality of `gem` commands, use the classes they call directly.

Public Class Methods

new(options={})click to toggle source

# File lib/rubygems/gem_runner.rb, line 29definitialize(options={})
if!options.empty?&&!Gem::Deprecate.skipKernel.warn"NOTE: passing options to Gem::GemRunner.new is deprecated with no replacement. It will be removed on or after 2016-10-01."end@command_manager_class = options[:command_manager] ||Gem::CommandManager@config_file_class = options[:config_file] ||Gem::ConfigFileend