Flowdock
method

initialize_dup

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