method

set_defaults

Importance_0
v5.2.3 - 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 383
      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.