d1 = {1 => "one"}d2 = {2 => "two"}d3 = {3 => "three"}dAll = d1.merge(d2)puts "dAll is #{dAll}"# dAll is {1=>"one", 2=>"two"}dAll = [*d1, *d2, *d3].to_hputs "dAll is #{dAll}"# dAll is {1: 'one', 2: 'two', 3: 'three'}