instance method
initialize_copy
Ruby on Rails 6.1.7.10
Since v3.0.20Signature
initialize_copy(other)
No documentation comment.
Parameters
-
otherreq
Source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 205
def initialize_copy(other)
super
@html_safe = other.html_safe?
end
Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 205
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SafeBuffer