Class: Ruboty::Hubot::Actions::Respond
- Inherits:
-
Actions::Base
- Object
- Actions::Base
- Ruboty::Hubot::Actions::Respond
- Extended by:
- Mem
- Defined in:
- lib/ruboty/hubot/actions/respond.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#call ⇒ Object
22 23 24 25 26 |
# File 'lib/ruboty/hubot/actions/respond.rb', line 22 def call self.class.robot.receive(.body) do |res| .reply("@#{.from_name} #{res}") end end |