method

gsub!

ruby latest stable - Class: String
gsub!(*args)
public

Performs the substitutions of String#gsub in place, returning str, or nil if no substitutions were performed. If no block and no replacement is given, an enumerator is returned instead.