class ParallelSplitTest::OutputRecorder

Public Class Methods

new(out) click to toggle source
# File lib/parallel_split_test/output_recorder.rb, line 5
def initialize(out)
  @recorded = StringIO.new
  @out = out
end

Public Instance Methods

recorded() click to toggle source
# File lib/parallel_split_test/output_recorder.rb, line 19
def recorded
  @recorded.rewind
  @recorded.read
end