method
initialize_dup
v6.1.7.7 -
Show latest stable
- Class:
ActiveModel::Attribute
initialize_dup(other)private
No documentation available.
# File activemodel/lib/active_model/attribute.rb, line 148
def initialize_dup(other)
if defined?(@value) && @value.duplicable?
@value = @value.dup
end
end