Exception: Mechanize::UnsupportedSchemeError

Inherits:
Error
  • Object
show all
Defined in:
lib/mechanize/unsupported_scheme_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scheme, uri) ⇒ UnsupportedSchemeError

Returns a new instance of UnsupportedSchemeError.



5
6
7
8
# File 'lib/mechanize/unsupported_scheme_error.rb', line 5

def initialize(scheme, uri)
  @scheme = scheme
  @uri    = uri
end

Instance Attribute Details

#schemeObject

Returns the value of attribute scheme.



3
4
5
# File 'lib/mechanize/unsupported_scheme_error.rb', line 3

def scheme
  @scheme
end

#uriObject

Returns the value of attribute uri.



3
4
5
# File 'lib/mechanize/unsupported_scheme_error.rb', line 3

def uri
  @uri
end