module Ec2spec::Formatter::HashFormatter

Public Instance Methods

output(results, _hosts) click to toggle source
# File lib/ec2spec/formatter/hash_formatter.rb, line 6
def output(results, _hosts)
  results.each_with_object({}) do |result, hash|
    hash[result.host] = result.to_hash
  end
end