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