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

Remove redundant 'like' from doc of slice! method [ci skip]

This commit is contained in:
Mehmet Emin İNAÇ 2015-05-26 10:53:05 +03:00
parent b8c31fd9b9
commit 4355725cdc

View file

@ -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))