How can I append a value in a Hash object using a key that already has a value. So for example if I have >> my_hash = Hash.new >> my_hash[:my_key] = "Value1" # then append a value, lets say "Value2" to my hash, using that same key "my_key" # so that it can be >> my_hash[:my_key] => ["Value1", "Value2"] I know its easy to write my own method, but I just wanted to know if there is a built in method.
![Append a value in a hash object (in Ruby), using an already existing key?](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)