Class: StackedConfig::Layers::SystemLayer

Inherits:
GenericLayer
  • Object
show all
Defined in:
lib/stacked_config/layers/system_layer.rb

Constant Summary

Constants included from SourceHelper

SourceHelper::DEFAULT_OS_FLAVOUR, SourceHelper::EXTENSIONS, SourceHelper::OS_FLAVOURS, SourceHelper::SYSTEM_CONFIG_ROOT

Instance Method Summary collapse

Methods inherited from GenericLayer

#initialize, #rescan

Methods included from SourceHelper

gem_config_root, #gem_config_root, os_flavour, #os_flavour, #perform_substitutions, #set_config_file, supported_oses, #supported_oses, system_config_root, #system_config_root, user_config_root, #user_config_root

Constructor Details

This class inherits a constructor from StackedConfig::Layers::GenericLayer

Instance Method Details

#possible_sourcesObject



5
6
7
8
9
10
# File 'lib/stacked_config/layers/system_layer.rb', line 5

def possible_sources
  [
      ['##SYSTEM_CONFIG_ROOT##', 'stacked_config.##EXTENSION##' ],
      ['##SYSTEM_CONFIG_ROOT##', 'stacked_config', 'config.##EXTENSION##' ]
  ]
end