implement Hash#replace
Merge pull request #361 from goshakkk/hash-replace

Implement Hash#replace