Exception: IndifferentReader::DataError
- Defined in:
- lib/indifferent_reader.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(message, data) ⇒ DataError
constructor
A new instance of DataError.
Constructor Details
#initialize(message, data) ⇒ DataError
Returns a new instance of DataError.
5 6 7 8 |
# File 'lib/indifferent_reader.rb', line 5 def initialize , data @data = data super() end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
4 5 6 |
# File 'lib/indifferent_reader.rb', line 4 def data @data end |