class Dry::Configurable::Config

def to_h

def to_h
  @config.each_with_object({}) do |tuple, hash|
    key, value = tuple
    if value.kind_of?(::Dry::Configurable::Config)
      hash[key] = value.to_h
    else
      hash[key] = value 
    end
  end
end