Class: CeilingCat::Campfire::Event
- Defined in:
- lib/ceiling_cat/services/campfire/event.rb
Instance Attribute Summary
Attributes inherited from Event
Instance Method Summary collapse
Methods inherited from Event
Constructor Details
This class inherits a constructor from CeilingCat::Event
Instance Method Details
#type ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/ceiling_cat/services/campfire/event.rb', line 5 def type case @type when "EnterMessage", :entrance :entrance when "TextMessage", :chat :chat when "LeaveMessage", "KickMessage", :exit :exit end end |