Exception: WeatherHacks::LWWS::Error
- Inherits:
-
StandardError
- Object
- StandardError
- WeatherHacks::LWWS::Error
- Defined in:
- lib/weatherhacks/lwws.rb
Instance Attribute Summary collapse
-
#res ⇒ Object
readonly
Returns the value of attribute res.
Instance Method Summary collapse
-
#initialize(res) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(res) ⇒ Error
Returns a new instance of Error.
15 16 17 |
# File 'lib/weatherhacks/lwws.rb', line 15 def initialize(res) @res = res end |
Instance Attribute Details
#res ⇒ Object (readonly)
Returns the value of attribute res.
14 15 16 |
# File 'lib/weatherhacks/lwws.rb', line 14 def res @res end |