Ruby menggabungkan array hash menjadi satu hash
a.inject(:merge)
#=> {:a=>:b, :c=>:d}
Confused Cassowary
a.inject(:merge)
#=> {:a=>:b, :c=>:d}
a.reduce Hash.new, :merge