method

dup_or_share

dup_or_share()
public

No documentation available.

# File activemodel/lib/active_model/attribute.rb, line 99
    def dup_or_share # :nodoc:
      if @type.mutable?
        dup
      else
        self # If the underlying type is immutable we can get away with not duping
      end
    end