Class: Ruboty::Hubot::Actions::Hear

Inherits:
Actions::Base
  • Object
show all
Defined in:
lib/ruboty/hubot/actions/hear.rb

Instance Method Summary collapse

Instance Method Details

#callObject



5
6
7
8
9
# File 'lib/ruboty/hubot/actions/hear.rb', line 5

def call
  Robot.instance.receive_all(message.body) do |res|
    message.reply(res)
  end
end