Class: Three::EventDispatcher::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/three/core/event_dispatcher.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



5
6
7
# File 'lib/three/core/event_dispatcher.rb', line 5

def data
  @data
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



5
6
7
# File 'lib/three/core/event_dispatcher.rb', line 5

def target
  @target
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'lib/three/core/event_dispatcher.rb', line 5

def type
  @type
end