Class: Reflex::ContactEvent

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

Instance Method Summary collapse

Instance Method Details

#begin?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/reflex/contact_event.rb', line 16

def begin? ()
  get_type == TYPE_BEGIN
end

#end?Boolean

Returns:

  • (Boolean)


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

def end? ()
  get_type == TYPE_END
end

#inspectObject



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

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

#typeObject



12
13
14
# File 'lib/reflex/contact_event.rb', line 12

def type ()
  TYPE2SYM[get_type] || :none
end