Class: Reflex::ContactEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/reflex/contact_event.rb

Instance Method Summary collapse

Instance Method Details

#begin?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/reflex/contact_event.rb', line 18

def begin?()
  get_action == ContactEvent::BEGIN
end

#end?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/reflex/contact_event.rb', line 22

def end?()
  get_action == ContactEvent::END
end

#inspectObject



26
27
28
# File 'lib/reflex/contact_event.rb', line 26

def inspect()
  "#<Reflex::ContactEvent #{action} shape:#{shape} view:#{view}>"
end