replace « Hash « Ruby






1.Replace a hash with another key-value pair
2.Replace hash with a constant
3.Replace all of the pairs in h with those from another hash