Exception: OpenURI::HTTPError
- Inherits:
-
StandardError
- Object
- StandardError
- OpenURI::HTTPError
- Defined in:
- lib/open-uri.rb
Instance Attribute Summary (collapse)
-
- (Object) io
readonly
Returns the value of attribute io.
Instance Method Summary (collapse)
-
- (HTTPError) initialize(message, io)
constructor
A new instance of HTTPError.
Constructor Details
- (HTTPError) initialize(message, io)
A new instance of HTTPError
282 283 284 285 |
# File 'lib/open-uri.rb', line 282 def initialize(, io) super() @io = io end |
Instance Attribute Details
- (Object) io (readonly)
Returns the value of attribute io
286 287 288 |
# File 'lib/open-uri.rb', line 286 def io @io end |