我有
hash1 = {:sym1 => "aaa", :sym2 => "bbb"}
hash2 = {:sym20 => "ccc", :sym21 => "ddd"}
Run Code Online (Sandbox Code Playgroud)
怎么做
hash1 = {:sym1 => "aaa"}
hash2 = {:sym2 => "bbb", :sym20 => "ccc", :sym21 => "ddd"}
Run Code Online (Sandbox Code Playgroud)