Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Commands::SourcesCommand#execute
execute
lib/rubygems/commands/sources_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/commands/sources_command.rb, line 263
def execute
clear_all if options[:clear_all]
add_source options[:add] if options[:add]
prepend_source options[:prepend] if options[:prepend]
append_source options[:append] if options[:append]
remove_source options[:remove] if options[:remove]
update if options[:update]
list if list?
end
No documentation available