instance method
*
Ruby on Rails 8.1.2
Since v6.0.6Signature
*(_)
No documentation comment.
Parameters
-
_req
Source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 115
def *(_)
new_string = super
new_safe_buffer = new_string.is_a?(SafeBuffer) ? new_string : SafeBuffer.new(new_string)
if @html_unsafe
new_safe_buffer.instance_variable_set(:@html_unsafe, true)
end
new_safe_buffer
end
Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 115
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SafeBuffer