aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/multibyte/chars.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/multibyte/chars.rb b/activesupport/lib/active_support/multibyte/chars.rb
index 266cfc2eda..9ca977012c 100644
--- a/activesupport/lib/active_support/multibyte/chars.rb
+++ b/activesupport/lib/active_support/multibyte/chars.rb
@@ -142,6 +142,10 @@ module ActiveSupport #:nodoc:
end
end
+ def slice!(*args)
+ chars(@wrapped_string.slice!(*args))
+ end
+
# Reverses all characters in the string.
#
# Example: