Sha256: 12e224684575ae686aaa40569b685c9c942b5e6642dff2430ad7a606d64db09e
Contents?: true
Size: 548 Bytes
Versions: 4
Compression:
Stored size: 548 Bytes
Contents
require "singleton" module EmberCLI class Configuration include Singleton 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 ember_path @ember_path ||= Helpers.which("ember").tap do |path| fail "ember-cli executable could not be found" unless path end end attr_writer :ember_path end end
Version data entries
4 entries across 4 versions & 1 rubygems