lib/active_support/multibyte/chars.rb in activesupport-4.2.2 vs lib/active_support/multibyte/chars.rb in activesupport-4.2.3.rc1

- old
+ new

@@ -84,10 +84,10 @@ # 'Café périferôl'.mb_chars.split(/é/).map { |part| part.upcase.to_s } # => ["CAF", " P", "RIFERÔL"] def split(*args) @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)) end