str.gsub!(pattern, replacement) â str or nil
str.gsub!(pattern) {|match| block } â str or nil
str.gsub!(pattern) â an_enumerator
str.gsub!(pattern) {|match| block } â str or nil
str.gsub!(pattern) â an_enumerator
Instance Public methods
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.
Please login to continue.