Class: TimeMachine::TaskResult

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

Overview

The struct to store the result of a task.

Instance Attribute Summary collapse

Instance Attribute Details

#handleObject

Returns the value of attribute handle

Returns:

  • (Object)

    the current value of handle



18
19
20
# File 'lib/timemachine.rb', line 18

def handle
  @handle
end

#record_resultObject

Returns the value of attribute record_result

Returns:

  • (Object)

    the current value of record_result



18
19
20
# File 'lib/timemachine.rb', line 18

def record_result
  @record_result
end

#resultObject

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



18
19
20
# File 'lib/timemachine.rb', line 18

def result
  @result
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



18
19
20
# File 'lib/timemachine.rb', line 18

def status
  @status
end