Module: TestBench::Output::Buffer::Record
- Defined in:
- lib/test_bench/output/buffer.rb
Instance Attribute Summary collapse
-
#batch_data ⇒ Object
Returns the value of attribute batch_data.
Instance Method Summary collapse
Instance Attribute Details
#batch_data ⇒ Object
Returns the value of attribute batch_data.
93 94 95 |
# File 'lib/test_bench/output/buffer.rb', line 93 def batch_data @batch_data end |
Instance Method Details
#finish_batch(result) ⇒ Object
108 109 110 |
# File 'lib/test_bench/output/buffer.rb', line 108 def finish_batch(result) batch_data.result = result end |
#forward(raw_output) ⇒ Object
95 96 97 98 99 |
# 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 |