Exception: Umbra::EventHandler::PropertyVetoException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/umbra/eventhandler.rb

Overview

The property change is not acceptable, undo it. e.g. test2.rb

Since:

  • 1.4.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(string, event) ⇒ PropertyVetoException

Returns a new instance of PropertyVetoException.

Since:

  • 1.4.0



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

#eventObject (readonly)

Since:

  • 1.4.0



154
155
156
# File 'lib/umbra/eventhandler.rb', line 154

def event
  @event
end

#stringObject (readonly)

Since:

  • 1.4.0



154
155
156
# File 'lib/umbra/eventhandler.rb', line 154

def string
  @string
end