Exception: WWW::Mechanize::UnsupportedSchemeError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- WWW::Mechanize::UnsupportedSchemeError
- Defined in:
- lib/www/mechanize/unsupported_scheme_error.rb
Instance Attribute Summary collapse
-
#scheme ⇒ Object
Returns the value of attribute scheme.
Instance Method Summary collapse
-
#initialize(scheme) ⇒ UnsupportedSchemeError
constructor
A new instance of UnsupportedSchemeError.
Constructor Details
#initialize(scheme) ⇒ UnsupportedSchemeError
Returns a new instance of UnsupportedSchemeError.
5 6 7 |
# File 'lib/www/mechanize/unsupported_scheme_error.rb', line 5 def initialize(scheme) @scheme = scheme end |
Instance Attribute Details
#scheme ⇒ Object
Returns the value of attribute scheme.
4 5 6 |
# File 'lib/www/mechanize/unsupported_scheme_error.rb', line 4 def scheme @scheme end |