Search
We can use merge to merge the contents of two hashes. It returns a new hash. The original two hashes remain the same.
merge
We can also use merge! to merge two hashes. The difference is that in this case the original hash itself is altered.
merge!