class Dry::Configurable::Config
def to_h
def to_h @config.each_with_object({}) do |tuple, hash| key, value = tuple case value when ::Dry::Configurable::Config, ::Dry::Configurable::NestedConfig hash[key] = value.to_h else hash[key] = value end end end