Exception: Octopussy::OctopussyError
- Inherits:
-
StandardError
- Object
- StandardError
- Octopussy::OctopussyError
- Defined in:
- lib/octopussy.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ OctopussyError
constructor
A new instance of OctopussyError.
Constructor Details
#initialize(data) ⇒ OctopussyError
Returns a new instance of OctopussyError.
22 23 24 25 |
# File 'lib/octopussy.rb', line 22 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
20 21 22 |
# File 'lib/octopussy.rb', line 20 def data @data end |