class Dry::Configurable::NestedConfig

@private

def config

def config
  @klass.config
end

def create_config

Other tags:
    Private: - no, really...
def create_config
  if @klass.instance_variables.include?(:@_config)
    @klass.__send__(:create_config)
  end
end

def initialize(&block)

def initialize(&block)
  klass = ::Class.new { extend ::Dry::Configurable }
  klass.instance_eval(&block)
  @klass = klass
end

def method_missing(method, *args, &block)

def method_missing(method, *args, &block)
  config.respond_to?(method) ? config.public_send(method, *args, &block) : super
end

def respond_to_missing?(method, _include_private = false)

def respond_to_missing?(method, _include_private = false)
  config.respond_to?(method) || super
end