Exception: CronTable::Schedule::InvalidEvery

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/cron-table/schedule.rb

Instance Method Summary collapse

Constructor Details

#initialize(every) ⇒ InvalidEvery

Returns a new instance of InvalidEvery.



18
19
20
# File 'lib/cron-table/schedule.rb', line 18

def initialize(every)
  @every = every
end

Instance Method Details

#messageObject



22
# File 'lib/cron-table/schedule.rb', line 22

def message = "Invalid every: `#{@every.inspect}`"