Sha256: 3d18c4656aed8504fe0442c4187c56ffef2a5c5879d1b3b006bb9d5f1ca8daee

Contents?: true

Size: 170 Bytes

Versions: 17

Compression:

Stored size: 170 Bytes

Contents

# frozen_string_literal: true

module Chutney
  # Plain old JSON formatter
  class JSONFormatter < Formatter
    def format
      puts @results.to_json
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
chutney-3.10.0 lib/chutney/formatter/json_formatter.rb
chutney-3.9.0 lib/chutney/formatter/json_formatter.rb
chutney-3.8.2 lib/chutney/formatter/json_formatter.rb
chutney-3.8.1 lib/chutney/formatter/json_formatter.rb
chutney-3.8.0 lib/chutney/formatter/json_formatter.rb
chutney-3.7.0 lib/chutney/formatter/json_formatter.rb
chutney-3.6.0 lib/chutney/formatter/json_formatter.rb
chutney-3.5.0 lib/chutney/formatter/json_formatter.rb
chutney-3.3.0 lib/chutney/formatter/json_formatter.rb
chutney-3.2.1 lib/chutney/formatter/json_formatter.rb
chutney-3.2.0 lib/chutney/formatter/json_formatter.rb
chutney-3.1.1 lib/chutney/formatter/json_formatter.rb
chutney-3.1.0 lib/chutney/formatter/json_formatter.rb
chutney-3.0.1 lib/chutney/formatter/json_formatter.rb
chutney-3.0.0 lib/chutney/formatter/json_formatter.rb
chutney-3.0.0.beta.2 lib/chutney/formatter/json_formatter.rb
chutney-3.0.0.beta.1 lib/chutney/formatter/json_formatter.rb