Class: Ruboty::Actions::WorldClockList
- Inherits:
-
Base
- Object
- Base
- Ruboty::Actions::WorldClockList
- Defined in:
- lib/ruboty/actions/world_clock_list.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/ruboty/actions/world_clock_list.rb', line 4 def call if timezones.present? .reply("```\n#{timezones.join("\n")}\n```") else .reply('Not found timezones.') end end |