class CrConfig::Providers::FolderConfigProvider

Overview

Loads all files found in folder / directory

This provider will iterate through all children files in a specified directory and use a SimpleFileProvider to load them. Will not step into subfolders.

Defined in:

cr-config/abstract_provider.cr

Constructors

Instance Method Summary

Instance methods inherited from class CrConfig::Providers::AbstractProvider

populate(builder : AbstractBuilder) populate

Constructor Detail

def self.new(folder_path : String) #

[View source]

Instance Method Detail

def populate(builder : AbstractBuilder) #
Description copied from class CrConfig::Providers::AbstractProvider

This method gets called with the instance of the configuration builder during config building.

Use this method to populate the builder with any configuration name / values that this provider... provides


[View source]