Class: WCC::Data::Config
- Inherits:
-
Object
- Object
- WCC::Data::Config
- Defined in:
- lib/wcc/data/config.rb
Defined Under Namespace
Classes: Application
Instance Method Summary collapse
- #applications ⇒ Object (also: #apps)
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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
#applications ⇒ Object 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 |