Exception: Configr::ConfigrError
- Inherits:
-
StandardError
- Object
- StandardError
- Configr::ConfigrError
- Defined in:
- lib/configr/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ ConfigrError
constructor
A new instance of ConfigrError.
Constructor Details
#initialize(data) ⇒ ConfigrError
Returns a new instance of ConfigrError.
5 6 7 8 |
# File 'lib/configr/errors.rb', line 5 def initialize(data) self.data = data super end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
3 4 5 |
# File 'lib/configr/errors.rb', line 3 def data @data end |