class Cucumber::Formatter::Message
The formatter used for --format message
Public Class Methods
new(config)
click to toggle source
Calls superclass method
# File lib/cucumber/formatter/message.rb, line 11 def initialize(config) @io = ensure_io(config.out_stream, config.error_stream) super(config) end
Public Instance Methods
output_envelope(envelope)
click to toggle source
# File lib/cucumber/formatter/message.rb, line 16 def output_envelope(envelope) @io.write(envelope.to_json) @io.write("\n") end