method

initialize_dup

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Attribute
initialize_dup(other) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/attribute.rb, line 155
      def initialize_dup(other)
        if defined?(@value) && @value.duplicable?
          @value = @value.dup
        end
      end
Register or log in to add new notes.