From c9f0f84d7c13b276ec467ea9823e8959dd17605f Mon Sep 17 00:00:00 2001 From: yui-knk Date: Sun, 1 Mar 2015 02:04:27 +0900 Subject: [ci skip] Fix to comment --- guides/source/active_support_core_extensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md index 0594b701dc..8663b314a3 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!`. -- cgit v1.2.3