Class: Reflex::ContactEvent
- Inherits:
-
Object
- Object
- Reflex::ContactEvent
- Defined in:
- lib/reflex/contact_event.rb
Instance Method Summary collapse
Instance Method Details
#begin? ⇒ Boolean
16 17 18 |
# File 'lib/reflex/contact_event.rb', line 16 def begin? () get_type == TYPE_BEGIN end |
#end? ⇒ Boolean
20 21 22 |
# File 'lib/reflex/contact_event.rb', line 20 def end? () get_type == TYPE_END end |
#inspect ⇒ Object
24 25 26 |
# File 'lib/reflex/contact_event.rb', line 24 def inspect () "#<Reflex::ContactEvent type:#{type} view:#{view}>" end |
#type ⇒ Object
12 13 14 |
# File 'lib/reflex/contact_event.rb', line 12 def type () TYPE2SYM[get_type] || :none end |