new(options={})public
No documentation available.
# File lib/rubygems/gem_runner.rb, line 29
def initialize(options={})
if !options.empty? && !Gem::Deprecate.skip
Kernel.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::ConfigFile
end