Class: Lita::Handlers::Zerocater
- Inherits:
-
Handler
- Object
- Handler
- Lita::Handlers::Zerocater
- Defined in:
- lib/lita/handlers/zerocater.rb
Instance Method Summary collapse
Instance Method Details
#today(response) ⇒ Object
42 43 44 45 46 |
# File 'lib/lita/handlers/zerocater.rb', line 42 def today(response) config.locations.keys.each do |location| response.reply((location)) end end |
#tomorrow(response) ⇒ Object
48 49 50 51 52 |
# File 'lib/lita/handlers/zerocater.rb', line 48 def tomorrow(response) config.locations.keys.each do |location| response.reply((location)) end end |
#yesterday(response) ⇒ Object
54 55 56 57 58 |
# File 'lib/lita/handlers/zerocater.rb', line 54 def yesterday(response) config.locations.keys.each do |location| response.reply((location)) end end |