Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::RemoteFetcher#https?
https?(uri)
lib/rubygems/remote_fetcher.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/remote_fetcher.rb, line 323
def https?(uri)
uri.scheme.casecmp("https").zero?
end
No documentation available