Method: ActiveModel::Error#initialize_dup
- Defined in:
- activemodel/lib/active_model/error.rb
#initialize_dup(other) ⇒ Object
:nodoc:
111 112 113 114 115 116 |
# 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 |