method

new

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: MirrorCommand
new() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/mirror_command.rb, line 6
    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
Register or log in to add new notes.