Exception: OpenURI::HTTPError
- Defined in:
- opal/stdlib/open-uri.rb
Instance Attribute Summary collapse
-
#io ⇒ Object
readonly
Returns the value of attribute io.
Instance Method Summary collapse
-
#initialize(message, io) ⇒ HTTPError
constructor
A new instance of HTTPError.
Constructor Details
#initialize(message, io) ⇒ HTTPError
Returns a new instance of HTTPError.
175 176 177 178 |
# File 'opal/stdlib/open-uri.rb', line 175 def initialize(, io) super(, io) @io = io end |
Instance Attribute Details
#io ⇒ Object (readonly)
Returns the value of attribute io.
179 180 181 |
# File 'opal/stdlib/open-uri.rb', line 179 def io @io end |