Module: Hipbot::Matchable
- Included in:
- Bot
- Defined in:
- lib/hipbot/matchable.rb
Instance Method Summary collapse
Instance Method Details
#react(sender, room, body) ⇒ Object
3 4 5 6 7 |
# File 'lib/hipbot/matchable.rb', line 3 def react sender, room, body = Message.new(body, room, sender) matches = () Match.invoke_all(matches) end |
#reactions ⇒ Object
9 10 11 |
# File 'lib/hipbot/matchable.rb', line 9 def reactions reaction_sets.flatten end |