Sha256: 89a28297c6b9221efcb1480af12fbf4eeba6e04f08f8c678a901242785414ab3
Contents?: true
Size: 569 Bytes
Versions: 14
Compression:
Stored size: 569 Bytes
Contents
require 'lucid/formatter/gherkin_formatter_adapter' require 'lucid/formatter/io' require 'gherkin/formatter/argument' require 'gherkin/formatter/pretty_formatter' module Lucid module Formatter # The formatter used for <tt>--format gpretty</tt> class Gpretty < GherkinFormatterAdapter include Io def initialize(runtime, io, options) @io = ensure_io(io, "json") super(Gherkin::Formatter::PrettyFormatter.new(@io, false), true) end def after_feature(feature) super @io.puts end end end end
Version data entries
14 entries across 14 versions & 1 rubygems