Call String#gsub with Hash directly
Merge pull request #9554 from tmm1/string-gsub-hash

Use 1.9 String#gsub syntax