Method: Dry::Validation::Schema#with

Defined in:
lib/dry/validation/schema.rb

#with(new_options) ⇒ Object



67
68
69
# File 'lib/dry/validation/schema.rb', line 67

def with(new_options)
  self.class.new(self.class.rules, options.merge(new_options))
end