Class: ActiveWindowX::EventListener::Event
- Inherits:
-
Object
- Object
- ActiveWindowX::EventListener::Event
- Defined in:
- lib/active_window_x/event_listener.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
-
#window ⇒ Object
Returns the value of attribute window.
Instance Method Summary collapse
-
#initialize(type, window) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(type, window) ⇒ Event
Returns a new instance of Event.
135 136 137 |
# File 'lib/active_window_x/event_listener.rb', line 135 def initialize type, window @type = type; @window = window end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
134 135 136 |
# File 'lib/active_window_x/event_listener.rb', line 134 def type @type end |
#window ⇒ Object
Returns the value of attribute window.
134 135 136 |
# File 'lib/active_window_x/event_listener.rb', line 134 def window @window end |