method

initialize_dup

Importance_0
v6.1.3.1 - 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 148
      def initialize_dup(other)
        if defined?(@value) && @value.duplicable?
          @value = @value.dup
        end
      end
Register or log in to add new notes.