method

new_from_hash_copying_default

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::HashWithIndifferentAccess
new_from_hash_copying_default(hash) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.