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