Class: CronTable::Context
- Inherits:
-
Struct
- Object
- Struct
- CronTable::Context
- Defined in:
- lib/cron-table/context.rb
Instance Attribute Summary collapse
-
#cron ⇒ Object
Returns the value of attribute cron.
-
#last_run_at ⇒ Object
Returns the value of attribute last_run_at.
Instance Attribute Details
#cron ⇒ Object
Returns the value of attribute cron
2 3 4 |
# File 'lib/cron-table/context.rb', line 2 def cron @cron end |
#last_run_at ⇒ Object
Returns the value of attribute last_run_at
2 3 4 |
# File 'lib/cron-table/context.rb', line 2 def last_run_at @last_run_at end |