Class: BubBot::Slack::Command::Echo

Inherits:
BubBot::Slack::Command show all
Defined in:
lib/bub_bot/slack/commands/echo.rb

Instance Method Summary collapse

Methods inherited from BubBot::Slack::Command

aliases, can_handle?, #initialize

Constructor Details

This class inherits a constructor from BubBot::Slack::Command

Instance Method Details

#runObject



2
3
4
# File 'lib/bub_bot/slack/commands/echo.rb', line 2

def run
  respond(@options[:text])
end