Exception: Mechanize::UnsupportedSchemeError
- Defined in:
- lib/mechanize/unsupported_scheme_error.rb
Instance Attribute Summary collapse
-
#scheme ⇒ Object
Returns the value of attribute scheme.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(scheme, uri) ⇒ UnsupportedSchemeError
constructor
A new instance of UnsupportedSchemeError.
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
#scheme ⇒ Object
Returns the value of attribute scheme.
3 4 5 |
# File 'lib/mechanize/unsupported_scheme_error.rb', line 3 def scheme @scheme end |
#uri ⇒ Object
Returns the value of attribute uri.
3 4 5 |
# File 'lib/mechanize/unsupported_scheme_error.rb', line 3 def uri @uri end |