Exception: CronTable::Schedule::InvalidEvery
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- CronTable::Schedule::InvalidEvery
- Defined in:
- lib/cron-table/schedule.rb
Instance Method Summary collapse
-
#initialize(every) ⇒ InvalidEvery
constructor
A new instance of InvalidEvery.
- #message ⇒ Object
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
#message ⇒ Object
22 |
# File 'lib/cron-table/schedule.rb', line 22 def = "Invalid every: `#{@every.inspect}`" |