Exception: Mechanize::UnsupportedSchemeError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scheme) ⇒ UnsupportedSchemeError

Returns a new instance of UnsupportedSchemeError.



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

def initialize(scheme)
  @scheme = scheme
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