str argument is Symbol from Object.instance_methods etc,
and Symbol is undefined #gsub.
str argument is Symbol Object from Object.instance_methods etc,
and Symbol is undefined `#gsub`.
+1 It is very annoying issue.
Yes, it fix trouble. +1
This seems like a safe fix to me, so I'll go ahead and merge it in. @segfault, if there's any issue with it that I'm not aware of, don't hesitate to revert.