Module: Gorgon::Configuration

Extended by:
Configuration
Included in:
Configuration, GemService, Listener, ListenerInstaller, Originator, PingService
Defined in:
lib/gorgon/configuration.rb

Defined Under Namespace

Modules: FileLoader Classes: ConfigurationParser

Instance Method Summary collapse

Instance Method Details

#load_configuration_from_file(first_filename, merge: nil, file_loader: FileLoader) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/gorgon/configuration.rb', line 8

def load_configuration_from_file(first_filename, merge: nil, file_loader: FileLoader)
  ConfigurationParser.new(
    file_loader: file_loader
  ).load_from_files(
    first_filename: first_filename,
    merge_filename: merge
  )
end