method

deep_dup

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: LazyAttributeHash
deep_dup() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/attribute_set/builder.rb, line 118
    def deep_dup
      dup.tap do |copy|
        copy.instance_variable_set(:@delegate_hash, delegate_hash.transform_values(&:dup))
      end
    end
Register or log in to add new notes.