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