Class: Typesafe::Config::ConfigFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/typesafe/config/config_factory.rb

Class Method Summary collapse

Class Method Details

.parse_file(file_path, options = Typesafe::Config::ConfigParseOptions.defaults) ⇒ Object



6
7
8
# File 'lib/typesafe/config/config_factory.rb', line 6

def self.parse_file(file_path, options = Typesafe::Config::ConfigParseOptions.defaults)
  Typesafe::Config::Impl::Parseable.new_file(file_path, options).parse.to_config
end