module TestBench::Output::Buffer::Record
Attributes
batch_data[RW]
Public Instance Methods
finish_batch(result)
click to toggle source
# File lib/test_bench/output/buffer.rb, line 108 def finish_batch(result) batch_data.result = result end
forward(raw_output)
click to toggle source
Calls superclass method
# File lib/test_bench/output/buffer.rb, line 95 def forward(raw_output) return super if batch_data.nil? raw_output.public_send(signal, *data, batch_data: batch_data) end
start_batch(depth)
click to toggle source
# File lib/test_bench/output/buffer.rb, line 101 def start_batch(depth) batch_data = Output::BatchData.new batch_data.depth = depth self.batch_data = batch_data end