Sha256: 4c88572e7753762440c5deed34c27a7184d06236cc26580e047a302a894826ba

Contents?: true

Size: 478 Bytes

Versions: 14

Compression:

Stored size: 478 Bytes

Contents

require 'lucid/formatter/gherkin_formatter_adapter'
require 'lucid/formatter/io'
require 'gherkin/formatter/argument'
require 'gherkin/formatter/json_formatter'

module Lucid
  module Formatter
    # The formatter used for <tt>--format json</tt>
    class Json < GherkinFormatterAdapter
      include Io

      def initialize(runtime, io, options)
        @io = ensure_io(io, "json")
        super(Gherkin::Formatter::JSONFormatter.new(@io), false)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
lucid-0.5.1 lib/lucid/formatter/json.rb
lucid-0.4.1 lib/lucid/formatter/json.rb
lucid-0.4.0 lib/lucid/formatter/json.rb
lucid-0.3.3 lib/lucid/formatter/json.rb
lucid-0.3.0 lib/lucid/formatter/json.rb
lucid-0.2.1 lib/lucid/formatter/json.rb
lucid-0.2.0 lib/lucid/formatter/json.rb
lucid-0.1.1 lib/lucid/formatter/json.rb
lucid-0.1.0 lib/lucid/formatter/json.rb
lucid-0.0.9 lib/lucid/formatter/json.rb
lucid-0.0.8 lib/lucid/formatter/json.rb
lucid-0.0.7 lib/lucid/formatter/json.rb
lucid-0.0.6 lib/lucid/formatter/json.rb
lucid-0.0.5 lib/lucid/formatter/json.rb