Class: CronTable::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/cron-table/context.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cronObject

Returns the value of attribute cron

Returns:

  • (Object)

    the current value of cron



2
3
4
# File 'lib/cron-table/context.rb', line 2

def cron
  @cron
end

#last_run_atObject

Returns the value of attribute last_run_at

Returns:

  • (Object)

    the current value of last_run_at



2
3
4
# File 'lib/cron-table/context.rb', line 2

def last_run_at
  @last_run_at
end