instance method
slice!
Ruby on Rails 4.1.16
Since v2.3.18Signature
slice!(*args)
Works like like String#slice!, but returns an instance of Chars, or nil if the string was not modified.
Parameters
-
argsrest
Source
# File activesupport/lib/active_support/multibyte/chars.rb, line 91
def slice!(*args)
chars(@wrapped_string.slice!(*args))
end
Defined in activesupport/lib/active_support/multibyte/chars.rb line 91
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Multibyte::Chars