instance method
initialize_copy
Ruby on Rails 3.2.22.5
Since v3.2.22.5 Last seen in v3.2.22.5Signature
initialize_copy(other)
No documentation comment.
Parameters
-
otherreq
Source
# File activesupport/lib/active_support/ordered_hash.rb, line 97
def initialize_copy(other)
super
# make a deep copy of keys
@keys = other.keys
end
Defined in activesupport/lib/active_support/ordered_hash.rb line 97
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::OrderedHash