Class: CampfireBot::Event::Speaker
- Inherits:
-
EventHandler
- Object
- EventHandler
- CampfireBot::Event::Speaker
- Defined in:
- lib/event.rb
Instance Attribute Summary
Attributes inherited from EventHandler
#kind, #matcher, #method, #plugin
Instance Method Summary collapse
Methods inherited from EventHandler
Constructor Details
This class inherits a constructor from CampfireBot::Event::EventHandler
Instance Method Details
#match?(msg) ⇒ Boolean
57 58 59 |
# File 'lib/event.rb', line 57 def match?(msg) msg[:person] == @matcher end |