Sha256: cabd0ed2a417adc900e81d59507eab639fe54c22b439a3196c5caf650465b12a

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 Bytes

Contents

require 'yaml'
require 'omnitest/reporters/hash_reporter'

module Omnitest
  module Reporters
    class YAMLReporter < HashReporter
      def convert(data)
        YAML.dump data
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
omnitest-0.2.2 lib/omnitest/reporters/yaml_reporter.rb
omnitest-0.2.1 lib/omnitest/reporters/yaml_reporter.rb