Method: ActiveModel::Type::Registry#initialize_copy
- Defined in:
- activemodel/lib/active_model/type/registry.rb
#initialize_copy(other) ⇒ Object
10 11 12 13 |
# File 'activemodel/lib/active_model/type/registry.rb', line 10 def initialize_copy(other) @registrations = @registrations.dup super end |