method
copy_defaults
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::HashWithIndifferentAccess
copy_defaults(target)private
No documentation available.
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 419
def copy_defaults(target)
if default_proc
target.default_proc = default_proc.dup
else
target.default = default
end
target
end