Class: EmberCli::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/ember_cli/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#watcherObject

Returns the value of attribute watcher.



8
9
10
# File 'lib/ember_cli/configuration.rb', line 8

def watcher
  @watcher
end

Instance Method Details

#app(name, **options) ⇒ Object



10
11
12
13
# File 'lib/ember_cli/configuration.rb', line 10

def app(name, **options)
  app = App.new(name, options)
  apps.store(name, app)
end

#appsObject



15
16
17
# File 'lib/ember_cli/configuration.rb', line 15

def apps
  @apps ||= HashWithIndifferentAccess.new
end