method
new
v1_9_3_125 -
Show latest stable
- Class:
Gem::CommandManager
new()public
Register all the subcommands supported by the gem command.
# File lib/rubygems/command_manager.rb, line 50
def initialize
require 'timeout'
@commands = {}
register_command :build
register_command :cert
register_command :check
register_command :cleanup
register_command :contents
register_command :dependency
register_command :environment
register_command :fetch
register_command :generate_index
register_command :help
register_command :install
register_command :list
register_command :lock
register_command :outdated
register_command :owner
register_command :pristine
register_command :push
register_command :query
register_command :rdoc
register_command :search
register_command :server
register_command :sources
register_command :specification
register_command :stale
register_command :uninstall
register_command :unpack
register_command :update
register_command :which
end Related methods
- Instance methods
- []
- command_names
- find_command
- find_command_possibilities
- process_args
- register_command
- run
- unregister_command
- Class methods
- instance
- new
- reset
- Private methods
-
load_and_instantiate