Class: Lita::Handlers::Cowsay
- Inherits:
-
Handler
- Object
- Handler
- Lita::Handlers::Cowsay
- Defined in:
- lib/lita/handlers/cowsay.rb
Instance Method Summary collapse
Instance Method Details
#cowsay(response) ⇒ Object
10 11 12 13 |
# File 'lib/lita/handlers/cowsay.rb', line 10 def cowsay(response) text = response.args.join(" ") response.reply Cow.new.say(text) end |