Ruby Merge Array хэши в один хэш
a.inject(:merge)
#=> {:a=>:b, :c=>:d}
Confused Cassowary
a.inject(:merge)
#=> {:a=>:b, :c=>:d}
a.reduce Hash.new, :merge