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)


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

def begin? ()
  get_type == TYPE_BEGIN
end

#end?Boolean

Returns:

  • (Boolean)


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

def end? ()
  get_type == TYPE_END
end

#inspectObject



29
30
31
# File 'lib/reflex/contact_event.rb', line 29

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