method
slice!
v7.1.3.4 -
Show latest stable
- Class:
ActiveSupport::SafeBuffer
slice!(*args)public
No documentation available.
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 51
def slice!(*args)
new_string = super
return new_string if !html_safe? || new_string.nil?
string_into_safe_buffer(new_string, true)
end