instance method
initialize_copy
Ruby on Rails 4.0.13
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 127
def initialize_copy(other)
super
@html_safe = other.html_safe?
end
Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 127
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SafeBuffer