Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::CommandManager#invoke_command
invoke_command(args, build_args)
lib/rubygems/command_manager.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/command_manager.rb, line 243
def invoke_command(args, build_args)
cmd_name = args.shift.downcase
cmd = find_command cmd_name
terminate_interaction 1 unless cmd
cmd.deprecation_warning if cmd.deprecated?
cmd.invoke_with_build_args args, build_args
end
No documentation available
See also
#instance
#load_and_instantiate
#find_command_possibilities
#process_args
also in
4.0 · 3.4 · 3.3