method

set_defaults

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveSupport::HashWithIndifferentAccess
set_defaults(target) private

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 418
      def set_defaults(target)
        if default_proc
          target.default_proc = default_proc.dup
        else
          target.default = default
        end
      end
Register or log in to add new notes.