Exception: Strobe::NotifiableError
- Inherits:
-
StrobeError
- Object
- StandardError
- StrobeError
- Strobe::NotifiableError
- Defined in:
- lib/strobe.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(message = nil, data = nil) ⇒ NotifiableError
constructor
A new instance of NotifiableError.
Constructor Details
#initialize(message = nil, data = nil) ⇒ NotifiableError
Returns a new instance of NotifiableError.
60 61 62 63 |
# File 'lib/strobe.rb', line 60 def initialize( = nil, data = nil) super() @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
59 60 61 |
# File 'lib/strobe.rb', line 59 def data @data end |