Class: Kaal::Registry::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/kaal/registry.rb

Overview

Entry class representing a single registered cron job

Instance Attribute Summary collapse

Instance Attribute Details

#cronObject

Returns the value of attribute cron

Returns:

  • (Object)

    the current value of cron



23
24
25
# File 'lib/kaal/registry.rb', line 23

def cron
  @cron
end

#enqueueObject

Returns the value of attribute enqueue

Returns:

  • (Object)

    the current value of enqueue



23
24
25
# File 'lib/kaal/registry.rb', line 23

def enqueue
  @enqueue
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



23
24
25
# File 'lib/kaal/registry.rb', line 23

def key
  @key
end