method
new
v2_1_10 -
Show latest stable
- Class:
Gem::Commands::MirrorCommand
new()public
No documentation available.
# File lib/rubygems/commands/mirror_command.rb, line 4
def initialize
super('mirror', 'Mirror all gem files (requires rubygems-mirror)')
begin
Gem::Specification.find_by_name('rubygems-mirror').activate
rescue Gem::LoadError
# no-op
end
end