Class: Ruboty::Actions::WorldClockList

Inherits:
Base
  • Object
show all
Defined in:
lib/ruboty/actions/world_clock_list.rb

Instance Method Summary collapse

Instance Method Details

#callObject



4
5
6
7
8
9
10
# File 'lib/ruboty/actions/world_clock_list.rb', line 4

def call
  if timezones.present?
    message.reply("```\n#{timezones.join("\n")}\n```")
  else
    message.reply('Not found timezones.')
  end
end