class LetItCrash::Reporters::Stream

Attributes

output[R]

Public Class Methods

new(output:) click to toggle source
# File lib/letitcrash/reporters/stream.rb, line 6
def initialize(output:)
  @output = output
end

Public Instance Methods

report(input) click to toggle source
# File lib/letitcrash/reporters/stream.rb, line 10
def report(input)
  output.write(input.to_json)
end