Exception: TulingError
- Inherits:
-
StandardError
- Object
- StandardError
- TulingError
- Defined in:
- lib/tuling.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ TulingError
constructor
A new instance of TulingError.
Constructor Details
#initialize(data) ⇒ TulingError
Returns a new instance of TulingError.
8 9 10 11 |
# File 'lib/tuling.rb', line 8 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
6 7 8 |
# File 'lib/tuling.rb', line 6 def data @data end |