1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #19130 from yui-knk/fix/active_support_core_extensions2

[ci skip] Fix to comment
This commit is contained in:
Yves Senn 2015-02-28 18:30:35 +01:00
commit 9b4d8b8fbe

View file

@ -1237,7 +1237,7 @@ Calling `dup` or `clone` on safe strings yields safe strings.
The method `remove` will remove all occurrences of the pattern:
```ruby
"Hello World".remove(/Hello /) => "World"
"Hello World".remove(/Hello /) # => "World"
```
There's also the destructive version `String#remove!`.