Class: Flexo::Events::QuitEvent
- Inherits:
-
Flexo::Event
- Object
- Flexo::Event
- Flexo::Events::QuitEvent
- Defined in:
- lib/flexo/events/quit.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Attributes inherited from Flexo::Event
Instance Method Summary collapse
-
#initialize(*args) ⇒ QuitEvent
constructor
A new instance of QuitEvent.
Methods inherited from Flexo::Event
Constructor Details
#initialize(*args) ⇒ QuitEvent
Returns a new instance of QuitEvent.
6 7 8 9 |
# File 'lib/flexo/events/quit.rb', line 6 def initialize(*args) super @reason = @data.string end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
4 5 6 |
# File 'lib/flexo/events/quit.rb', line 4 def reason @reason end |