Sha256: 50c1eb84868bcc8a746f46a4248261134cb0da662a7006a218b8fed5c3981a2f

Contents?: true

Size: 243 Bytes

Versions: 16

Compression:

Stored size: 243 Bytes

Contents

require "cucumber/formatter/json"

module Cucumber
  module Formatter
    # The formatter used for <tt>--format json_pretty</tt>
    class JsonPretty < Json

      def json_string
        JSON.pretty_generate @json
      end

    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
cucumber-0.8.7 lib/cucumber/formatter/json_pretty.rb
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/json_pretty.rb
vim-jar-0.1.2 bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/json_pretty.rb
vim-jar-0.1.1 bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/json_pretty.rb
vim-jar-0.1.0 bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/json_pretty.rb
cucumber-0.9.4 lib/cucumber/formatter/json_pretty.rb
cucumber-0.9.3 lib/cucumber/formatter/json_pretty.rb
cucumber-0.9.2 lib/cucumber/formatter/json_pretty.rb
cucumber-0.9.1 lib/cucumber/formatter/json_pretty.rb
cucumber-0.9.0 lib/cucumber/formatter/json_pretty.rb
cucumber-0.8.5 lib/cucumber/formatter/json_pretty.rb
cucumber-0.8.4 lib/cucumber/formatter/json_pretty.rb
cucumber-0.8.3 lib/cucumber/formatter/json_pretty.rb
cucumber-0.8.2 lib/cucumber/formatter/json_pretty.rb
cucumber-0.8.1 lib/cucumber/formatter/json_pretty.rb
cucumber-0.8.0 lib/cucumber/formatter/json_pretty.rb