Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::RemoteFetcher::FetchError.new
new(message, uri)
lib/rubygems/remote_fetcher.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/remote_fetcher.rb, line 28
def initialize(message, uri)
uri = Gem::Uri.new(uri)
super uri.redact_credentials_from(message)
@original_uri = uri.to_s
@uri = uri.redacted.to_s
end
No documentation available