method
initialize_dup
v7.1.3.2 -
Show latest stable
- Class:
ActiveModel::Error
initialize_dup(other)public
No documentation available.
# File activemodel/lib/active_model/error.rb, line 111
def initialize_dup(other) # :nodoc:
@attribute = @attribute.dup
@raw_type = @raw_type.dup
@type = @type.dup
@options = @options.deep_dup
end