Sha256: 18e82fc3ce0da0af927638cf4d6dc43f4a5c053dc423bcbc40a1977f1e143bd4
Contents?: true
Size: 218 Bytes
Versions: 2
Compression:
Stored size: 218 Bytes
Contents
require 'json' require 'polytrix/cli/reports/hash_reporter' module Polytrix module Reports class JSONReporter < HashReporter def convert(data) JSON.pretty_generate data end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
polytrix-0.1.2 | lib/polytrix/reports/json_reporter.rb |
polytrix-0.1.1 | lib/polytrix/reports/json_reporter.rb |