Sha256: 407592a5046c380629c3ab434010fee432782e2344c800a598d6489f06d7a2d8
Contents?: true
Size: 502 Bytes
Versions: 18
Compression:
Stored size: 502 Bytes
Contents
# frozen_string_literal: true require 'cucumber/formatter/io' require 'cucumber/formatter/message_builder' module Cucumber module Formatter # The formatter used for <tt>--format message</tt> class Message < MessageBuilder include Io def initialize(config) @io = ensure_io(config.out_stream, config.error_stream) super(config) end def output_envelope(envelope) @io.write(envelope.to_json) @io.write("\n") end end end end
Version data entries
18 entries across 18 versions & 4 rubygems