instance method
Gem::Commands::SourcesCommand#execute
execute
lib/rubygems/commands/sources_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/sources_command.rb, line 259
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