Class: Dry::Validation::Config

Inherits:
Schema::Config
  • Object
show all
Defined in:
lib/dry/validation/config.rb

Overview

Configuration for contracts

Instance Method Summary collapse

Instance Method Details

#dupObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


17
18
19
20
21
# File 'lib/dry/validation/config.rb', line 17

def dup
  config = super
  config.macros = macros.dup
  config
end