Method: ActiveModel::Error#initialize_dup
- Defined in:
- activemodel/lib/active_model/error.rb
#initialize_dup(other) ⇒ Object
:nodoc:
110 111 112 113 114 115 |
# File 'activemodel/lib/active_model/error.rb', line 110 def initialize_dup(other) # :nodoc: @attribute = @attribute.dup @raw_type = @raw_type.dup @type = @type.dup = .deep_dup end |