Class: ActiveWindowX::EventListener::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/active_window_x/event_listener.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#typeObject

Returns the value of attribute type.



134
135
136
# File 'lib/active_window_x/event_listener.rb', line 134

def type
  @type
end

#windowObject

Returns the value of attribute window.



134
135
136
# File 'lib/active_window_x/event_listener.rb', line 134

def window
  @window
end