Sha256: ca33dec07a991f54d5e3daf4bc4329cf75788215d29c6afbf4cc0dadbc36f498

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

require 'yaml'
require 'polytrix/cli/reports/hash_reporter'

module Polytrix
  module CLI
    module Reports
      class YAMLReporter < HashReporter
        def convert(data)
          YAML.dump data
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
polytrix-0.1.0 lib/polytrix/cli/reports/yaml_reporter.rb
polytrix-0.1.0.pre lib/polytrix/cli/reports/yaml_reporter.rb