method

set_defaults

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActiveSupport::HashWithIndifferentAccess
set_defaults(target) 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 329
      def set_defaults(target) # :doc:
        if default_proc
          target.default_proc = default_proc.dup
        else
          target.default = default
        end
      end
Register or log in to add new notes.