Class: Dommy::Scheduler::Timer

Inherits:
Struct
  • Object
show all
Defined in:
lib/dommy/scheduler.rb

Instance Attribute Summary collapse

Instance Attribute Details

#activeObject

Returns the value of attribute active

Returns:

  • (Object)

    the current value of active



7
8
9
# File 'lib/dommy/scheduler.rb', line 7

def active
  @active
end

#callbackObject

Returns the value of attribute callback

Returns:

  • (Object)

    the current value of callback



7
8
9
# File 'lib/dommy/scheduler.rb', line 7

def callback
  @callback
end

#due_atObject

Returns the value of attribute due_at

Returns:

  • (Object)

    the current value of due_at



7
8
9
# File 'lib/dommy/scheduler.rb', line 7

def due_at
  @due_at
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



7
8
9
# File 'lib/dommy/scheduler.rb', line 7

def id
  @id
end

#interval_msObject

Returns the value of attribute interval_ms

Returns:

  • (Object)

    the current value of interval_ms



7
8
9
# File 'lib/dommy/scheduler.rb', line 7

def interval_ms
  @interval_ms
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



7
8
9
# File 'lib/dommy/scheduler.rb', line 7

def kind
  @kind
end