Exception: Umbra::EventHandler::PropertyVetoException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Umbra::EventHandler::PropertyVetoException
- Defined in:
- lib/umbra/eventhandler.rb
Overview
The property change is not acceptable, undo it. e.g. test2.rb
Instance Attribute Summary collapse
- #event ⇒ Object readonly
- #string ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(string, event) ⇒ PropertyVetoException
constructor
A new instance of PropertyVetoException.
Constructor Details
#initialize(string, event) ⇒ PropertyVetoException
Returns a new instance of PropertyVetoException.
149 150 151 152 153 |
# File 'lib/umbra/eventhandler.rb', line 149 def initialize(string, event) @string = string @event = event super(string) end |
Instance Attribute Details
#event ⇒ Object (readonly)
154 155 156 |
# File 'lib/umbra/eventhandler.rb', line 154 def event @event end |
#string ⇒ Object (readonly)
154 155 156 |
# File 'lib/umbra/eventhandler.rb', line 154 def string @string end |