Method: Config#apps

Defined in:
lib/core/config.rb

#appsObject



109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/core/config.rb', line 109

def apps
  @apps ||= config[:apps].to_h do |app_name, app_options|
    ensure_config_app!(app_name, app_options)

    check_deprecated_options(app_options)

    app_options_with_new_keys = app_options.to_h do |key, value|
      new_key = new_option_keys[key]
      new_key ? [new_key, value] : [key, value]
    end

    [app_name, app_options_with_new_keys]
  end
end