Module: DevSuite::Utils::FileLoader

Defined in:
lib/dev_suite/utils/file_loader.rb,
lib/dev_suite/utils/file_loader/config.rb,
lib/dev_suite/utils/file_loader/loader.rb,
lib/dev_suite/utils/file_loader/file_loader.rb,
lib/dev_suite/utils/file_loader/loader/base.rb,
lib/dev_suite/utils/file_loader/loader/json.rb,
lib/dev_suite/utils/file_loader/loader/text.rb,
lib/dev_suite/utils/file_loader/loader/yaml.rb,
lib/dev_suite/utils/file_loader/config/config.rb,
lib/dev_suite/utils/file_loader/loader/loader.rb,
lib/dev_suite/utils/file_loader/loader_manager.rb,
lib/dev_suite/utils/file_loader/loader_registry.rb,
lib/dev_suite/utils/file_loader/config/configuration.rb

Defined Under Namespace

Modules: Config, Loader Classes: LoaderManager, LoaderNotFoundError, LoaderRegistry

Class Method Summary collapse

Class Method Details

.load(path) ⇒ Object



12
13
14
15
# File 'lib/dev_suite/utils/file_loader/file_loader.rb', line 12

def load(path)
  loader = LoaderManager.new
  loader.load(path)
end