h1 = { "a" => 100,"b"=> 11 } h2 = { "b" => 99, "c" => 23 } resu = h1.merge h2 resu.each_key do |x| resu[x] = [] resu[x] << (h1[x] || 0) ...
確定! 回上一頁