lib/ember-cli/configuration.rb in ember-cli-rails-0.3.5 vs lib/ember-cli/configuration.rb in ember-cli-rails-0.4.0
- old
+ new
@@ -2,20 +2,24 @@
module EmberCLI
class Configuration
include Singleton
- def app(name, options={})
+ def app(name, **options)
apps.store name, App.new(name, options)
end
def apps
@apps ||= HashWithIndifferentAccess.new
end
def tee_path
return @tee_path if defined?(@tee_path)
@tee_path = Helpers.which("tee")
+ end
+
+ def bower_path
+ @bower_path ||= Helpers.which("bower")
end
def npm_path
@npm_path ||= Helpers.which("npm")
end