Flowdock
method

remove!

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: String
remove!(*patterns) public

Alters the string by removing all occurrences of the patterns.

str = "foo bar test"
str.remove!(" test", /bar/)         # => "foo "
str                                 # => "foo "
Show source
Register or log in to add new notes.