class Dry::Schema::Config

Schema definition configuration class

@see DSL#configure

@api public

Public Instance Methods

inspect() click to toggle source

@api private

# File lib/dry/schema/config.rb, line 69
def inspect
  "#<#{self.class} #{to_h.map { |k, v| ["#{k}=", v.inspect] }.map(&:join).join(" ")}>"
end
respond_to_missing?(meth, include_private = false) click to toggle source

@api private

Calls superclass method
# File lib/dry/schema/config.rb, line 64
def respond_to_missing?(meth, include_private = false)
  super || config.respond_to?(meth, include_private)
end

Private Instance Methods

method_missing(meth, *args, &block) click to toggle source

Forward to the underlying config object

@api private

Calls superclass method
# File lib/dry/schema/config.rb, line 78
def method_missing(meth, *args, &block)
  super unless config.respond_to?(meth)
  config.public_send(meth, *args)
end