Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::LocalRemoteOptions#both?
both?
lib/rubygems/local_remote_options.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/local_remote_options.rb, line 129
def both?
options[:domain] == :both
end
Is fetching of local and remote information enabled?
See also
#add_update_sources_option
#local?
#add_source_option
#remote?
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0