aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-05-26 11:10:39 +0200
committerYves Senn <yves.senn@gmail.com>2015-05-26 11:10:39 +0200
commit31cc1c2ef320f554120a1736eaf087aca19464a6 (patch)
treeed1f206e15e70267d44a59655710bd6eea501169 /activesupport
parente5a3952e501ad0140bfd5981bea6b4f2a0784724 (diff)
parent4355725cdc9cbe59a58bf7e5adaf923fb1fbf21d (diff)
downloadrails-31cc1c2ef320f554120a1736eaf087aca19464a6.tar.gz
rails-31cc1c2ef320f554120a1736eaf087aca19464a6.tar.bz2
rails-31cc1c2ef320f554120a1736eaf087aca19464a6.zip
Merge pull request #20303 from vngrs/remove_redundant_like_from_slice_doc
Remove redundant 'like' from doc of slice! method [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/multibyte/chars.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/multibyte/chars.rb b/activesupport/lib/active_support/multibyte/chars.rb
index 3c0cf9f137..9b3cfd18e2 100644
--- a/activesupport/lib/active_support/multibyte/chars.rb
+++ b/activesupport/lib/active_support/multibyte/chars.rb
@@ -86,7 +86,7 @@ module ActiveSupport #:nodoc:
@wrapped_string.split(*args).map { |i| self.class.new(i) }
end
- # Works like like <tt>String#slice!</tt>, but returns an instance of
+ # Works like <tt>String#slice!</tt>, but returns an instance of
# Chars, or nil if the string was not modified.
def slice!(*args)
chars(@wrapped_string.slice!(*args))