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

#build_timeoutObject



28
29
30
# File 'lib/ember-cli/configuration.rb', line 28

def build_timeout
  @build_timeout ||= 5
end

Instance Method Details

#app(name, options = {}) ⇒ Object



7
8
9
# File 'lib/ember-cli/configuration.rb', line 7

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

#appsObject



11
12
13
# File 'lib/ember-cli/configuration.rb', line 11

def apps
  @apps ||= HashWithIndifferentAccess.new
end

#bundler_pathObject



24
25
26
# File 'lib/ember-cli/configuration.rb', line 24

def bundler_path
  @bundler_path ||= Helpers.which("bundler")
end

#npm_pathObject



20
21
22
# File 'lib/ember-cli/configuration.rb', line 20

def npm_path
  @npm_path ||= Helpers.which("npm")
end

#tee_pathObject



15
16
17
18
# File 'lib/ember-cli/configuration.rb', line 15

def tee_path
  return @tee_path if defined?(@tee_path)
  @tee_path = Helpers.which("tee")
end