I want to add elements to my Hash lists, which can have more than one value. Here is my code. I don\'t know how I can solve it!
class dictionary def initializ
Probably, you want to merge two Hashes?
my_hash = { "key1"=> value1 } another_hash = { "key2"=> value2 } my_hash.merge(another_hash) # => { "key1"=> value1, "key2"=> value2 }