Class: TimeMachine::TimedTask

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

Overview

The internal struct to store a task.

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



13
14
15
# File 'lib/timemachine.rb', line 13

def block
  @block
end

#handleObject

Returns the value of attribute handle

Returns:

  • (Object)

    the current value of handle



13
14
15
# File 'lib/timemachine.rb', line 13

def handle
  @handle
end

#timeupObject

Returns the value of attribute timeup

Returns:

  • (Object)

    the current value of timeup



13
14
15
# File 'lib/timemachine.rb', line 13

def timeup
  @timeup
end