Exception: Hydrogen::HydrogenError
- Inherits:
-
StandardError
- Object
- StandardError
- Hydrogen::HydrogenError
- Defined in:
- lib/hydrogen.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ HydrogenError
constructor
A new instance of HydrogenError.
Constructor Details
#initialize(data) ⇒ HydrogenError
Returns a new instance of HydrogenError.
12 13 14 15 |
# File 'lib/hydrogen.rb', line 12 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
10 11 12 |
# File 'lib/hydrogen.rb', line 10 def data @data end |