Class: EmberCLI::Configuration
- Inherits:
-
Object
- Object
- EmberCLI::Configuration
- Includes:
- Singleton
- Defined in:
- lib/ember-cli/configuration.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
- #app(name, options = {}) ⇒ Object
- #apps ⇒ Object
- #bundler_path ⇒ Object
- #npm_path ⇒ Object
- #tee_path ⇒ Object
Instance Attribute Details
#build_timeout ⇒ Object
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, ={}) apps.store name, App.new(name, ) end |
#apps ⇒ Object
11 12 13 |
# File 'lib/ember-cli/configuration.rb', line 11 def apps @apps ||= HashWithIndifferentAccess.new end |
#bundler_path ⇒ Object
24 25 26 |
# File 'lib/ember-cli/configuration.rb', line 24 def bundler_path @bundler_path ||= Helpers.which("bundler") end |