method
initialize_dup
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::Attribute
initialize_dup(other)protected
No documentation available.
# File activerecord/lib/active_record/attribute.rb, line 116
def initialize_dup(other)
if defined?(@value) && @value.duplicable?
@value = @value.dup
end
end