Flowdock
method

new

Importance_0
v2_4_6 - Show latest stable - 0 notes - Class: FetchError
new(message, uri) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/remote_fetcher.rb, line 28
    def initialize(message, uri)
      super message
      begin
        uri = URI(uri)
        uri.password = 'REDACTED' if uri.password
        @uri = uri.to_s
      rescue URI::InvalidURIError, ArgumentError
        @uri = uri
      end
    end
Register or log in to add new notes.