Method: Faulty::Circuit#history

Defined in:
lib/faulty/circuit.rb

#historyArray<Array>

Get the history of runs of this circuit

The history is an array of tuples where the first value is the run time, and the second value is a boolean which is true if the run was successful.

Returns:

  • (Array<Array>)

    ] An array of tuples of [run_time, is_success]



370
371
372
# File 'lib/faulty/circuit.rb', line 370

def history
  storage.history(self)
end