class ActiveModel::Attribute::UserProvidedDefault
def dup_or_share # :nodoc:
def dup_or_share # :nodoc: # Can't elide dup when the default is a Proc # See Attribute#dup_or_share if @user_provided_value.is_a?(Proc) dup else super end end
def dup_or_share # :nodoc: # Can't elide dup when the default is a Proc # See Attribute#dup_or_share if @user_provided_value.is_a?(Proc) dup else super end end