Sha256: f62f2cc50f0666dfbb3fd9a0ab39a4aab705182b35ca8aa1c773a066c07ce311

Contents?: true

Size: 210 Bytes

Versions: 1

Compression:

Stored size: 210 Bytes

Contents

require 'json'

module Ec2spec
  module HashFormatter
    def output(results, _hosts)
      results.each_with_object({}) do |result, hash|
        hash[result.host] = result.to_hash
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ec2spec-0.1.2 lib/ec2spec/hash_formatter.rb