method

remove!

v4.1.8 - Show latest stable - Class: String
remove!(pattern)
public

Alters the string by removing all occurrences of the pattern. Short-hand for String#gsub!(pattern, ”).