Sha256: b585d7b784c3d41c32e6b20e6e9250d9a426f0e21dd61a5926b399b3df7d0b35

Contents?: true

Size: 487 Bytes

Versions: 21

Compression:

Stored size: 487 Bytes

Contents

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

module Cucumber
  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

21 entries across 21 versions & 2 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/lib/cucumber/formatter/json.rb
cucumber-1.3.16 lib/cucumber/formatter/json.rb
cucumber-1.3.15 lib/cucumber/formatter/json.rb
cucumber-1.3.14 lib/cucumber/formatter/json.rb
cucumber-1.3.13 lib/cucumber/formatter/json.rb
cucumber-1.3.12 lib/cucumber/formatter/json.rb
cucumber-1.3.11 lib/cucumber/formatter/json.rb
cucumber-1.3.10 lib/cucumber/formatter/json.rb
cucumber-1.3.9 lib/cucumber/formatter/json.rb
cucumber-1.3.8 lib/cucumber/formatter/json.rb
cucumber-1.3.7 lib/cucumber/formatter/json.rb
cucumber-1.3.6 lib/cucumber/formatter/json.rb
cucumber-1.3.5 lib/cucumber/formatter/json.rb
cucumber-1.3.4 lib/cucumber/formatter/json.rb
cucumber-1.3.3 lib/cucumber/formatter/json.rb
cucumber-1.3.2 lib/cucumber/formatter/json.rb
cucumber-1.3.1 lib/cucumber/formatter/json.rb
cucumber-1.3.0 lib/cucumber/formatter/json.rb
cucumber-1.2.5 lib/cucumber/formatter/json.rb
cucumber-1.2.3 lib/cucumber/formatter/json.rb