1 2 3 4 5 6 7 8 9
#!/usr/bin/env ruby require 'yaml' summary = {} ARGV.each do |f| summary.merge!(YAML.load_file(f)) end puts summary.to_yaml