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.
172 173 174 175 |
# File 'opal/stdlib/open-uri.rb', line 172 def initialize(, io) super(, io) @io = io end |
Instance Attribute Details
#io ⇒ Object (readonly)
Returns the value of attribute io.
176 177 178 |
# File 'opal/stdlib/open-uri.rb', line 176 def io @io end |