Class: WCC::Data::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/wcc/data/config.rb

Defined Under Namespace

Classes: Application

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



6
7
8
# File 'lib/wcc/data/config.rb', line 6

def initialize
  set_default_applications
end

Instance Method Details

#applicationsObject Also known as: apps



10
11
12
# File 'lib/wcc/data/config.rb', line 10

def applications
  @applications ||= Hash.new { |hash, key| hash[key] = Application.new(key) }
end