method
new_from_hash_copying_default
v3.2.13 -
Show latest stable
- Class:
ActiveSupport::HashWithIndifferentAccess
new_from_hash_copying_default(hash)public
No documentation available.
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 40
def self.new_from_hash_copying_default(hash)
new(hash).tap do |new_hash|
new_hash.default = hash.default
end
end