Class: UnderOs::UI::Events::Event

Inherits:
Events::Event show all
Defined in:
lib/under_os/ui/utils/events.rb

Instance Attribute Summary collapse

Attributes inherited from Events::Event

#name, #params

Instance Method Summary collapse

Methods inherited from Events::Event

#method_missing

Constructor Details

#initialize(view, event, params = {}) ⇒ Event

Returns a new instance of Event.



164
165
166
167
168
# File 'lib/under_os/ui/utils/events.rb', line 164

def initialize(view, event, params={})
  @target = view

  super event, params
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UnderOs::Events::Event

Instance Attribute Details

#targetObject (readonly)

Returns the value of attribute target.



162
163
164
# File 'lib/under_os/ui/utils/events.rb', line 162

def target
  @target
end