gsub(*a, &b)
Gsub works exactly the same as gsub on a normal string.
# File activesupport/lib/active_support/multibyte/chars.rb, line 61 def gsub(*a, &b); @string.gsub(*a, &b).chars; end