instance method
Gem::CommandManager#register_command
register_command(command, obj = false)
lib/rubygems/command_manager.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/command_manager.rb, line 120
def register_command(command, obj = false)
@commands[command] = obj
end
Register the Symbol command as a gem command.
See also
#process_args
#run
#load_and_instantiate
#unregister_command
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0