Module: RSlack::Bot::CronApplicable
- Included in:
- RSlack::Bot
- Defined in:
- lib/rslack/actions/cron.rb
Instance Method Summary collapse
Instance Method Details
#wait_for_message ⇒ Object
98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/rslack/actions/cron.rb', line 98 def crons = memory['RSlack::CronAction'] unless crons.empty? crons.each do |_, item| action = RSlack::CronAction.new(self) action.start(item) end logger.info("#{self.class} cron schedules loaded.") end super end |