Ruby Merge Array de Hashes em um hash
a.inject(:merge)
#=> {:a=>:b, :c=>:d}
Confused Cassowary
a.inject(:merge)
#=> {:a=>:b, :c=>:d}
a.reduce Hash.new, :merge