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