instance method
Gem::LocalRemoteOptions#add_update_sources_option
add_update_sources_option
lib/rubygems/local_remote_options.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/local_remote_options.rb, line 119
def add_update_sources_option
add_option(:Deprecated, "-u", "--[no-]update-sources",
"Update local source cache") do |value, _options|
Gem.configuration.update_sources = value
end
end
Add the –update-sources option
See also
#add_source_option
#both?
#add_proxy_option
#local?
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0