aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-02-28 18:30:35 +0100
committerYves Senn <yves.senn@gmail.com>2015-02-28 18:30:35 +0100
commit9b4d8b8fbe26cabbda3adb9dda144183911a211b (patch)
treef789a91fcdfb81254bef0ab7dcac21d1831f8a81 /guides/source
parent811cc87d71d6d8d29dca0b674acecec48e2120d0 (diff)
parentc9f0f84d7c13b276ec467ea9823e8959dd17605f (diff)
downloadrails-9b4d8b8fbe26cabbda3adb9dda144183911a211b.tar.gz
rails-9b4d8b8fbe26cabbda3adb9dda144183911a211b.tar.bz2
rails-9b4d8b8fbe26cabbda3adb9dda144183911a211b.zip
Merge pull request #19130 from yui-knk/fix/active_support_core_extensions2
[ci skip] Fix to comment
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_support_core_extensions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index 0584f12568..2e7f776319 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -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!`.