class ActiveSupport::HashWithIndifferentAccess

def set_defaults(target)

def set_defaults(target)
  if default_proc
    target.default_proc = default_proc.dup
  else
    target.default = default
  end
end