Sha256: eebc3904033fd369722aa8bc8cb5b58a0639a7ff0686a9e97bfddbb14c3a5ade

Contents?: true

Size: 496 Bytes

Versions: 17

Compression:

Stored size: 496 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, options)
      end
    end
  end
end

Version data entries

17 entries across 16 versions & 2 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/lib/cucumber/formatter/json.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/lib/cucumber/formatter/json.rb
cucumber-1.3.20 lib/cucumber/formatter/json.rb
cucumber-2.0.0 lib/cucumber/formatter/json.rb
cucumber-2.0.0.rc.5 lib/cucumber/formatter/json.rb
cucumber-1.3.19 lib/cucumber/formatter/json.rb
cucumber-2.0.0.rc.4 lib/cucumber/formatter/json.rb
cucumber-2.0.0.rc.3 lib/cucumber/formatter/json.rb
cucumber-2.0.0.rc.2 lib/cucumber/formatter/json.rb
cucumber-2.0.0.rc.1 lib/cucumber/formatter/json.rb
cucumber-1.3.18 lib/cucumber/formatter/json.rb
cucumber-2.0.0.beta.5 lib/cucumber/formatter/json.rb
cucumber-2.0.0.beta.4 lib/cucumber/formatter/json.rb
cucumber-2.0.0.beta.3 lib/cucumber/formatter/json.rb
cucumber-1.3.17 lib/cucumber/formatter/json.rb
cucumber-2.0.0.beta.2 lib/cucumber/formatter/json.rb
cucumber-2.0.0.beta.1 lib/cucumber/formatter/json.rb