Class: TelegramMeetupBot::Commands::CalCommand

Inherits:
Base
  • Object
show all
Defined in:
lib/telegram_meetup_bot/commands/cal_command.rb

Instance Attribute Summary

Attributes inherited from Base

#message

Instance Method Summary collapse

Methods inherited from Base

#command, #initialize

Constructor Details

This class inherits a constructor from TelegramMeetupBot::Commands::Base

Instance Method Details

#execObject



4
5
6
7
# File 'lib/telegram_meetup_bot/commands/cal_command.rb', line 4

def exec
  dates = Calendar.submited_days_of_month(month)
  list_response(list: dates, month: month_with_year)
end