Method: PDK::Config#system_config

Defined in:
lib/pdk/config.rb

#system_configPDK::Config::Namespace

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The system level configuration settings.

Returns:

API:

  • private



37
38
39
40
41
42
# File 'lib/pdk/config.rb', line 37

def system_config
  local_options = @config_options
  @system_config ||= PDK::Config::JSON.new('system', file: local_options['system.path']) do
    mount :module_defaults, PDK::Config::JSON.new(file: local_options['system.module_defaults.path'])
  end
end