Sha256: 2d208b361041c59911419b45e0874502b6687dbe1a13a1a4e1d137793f6a40dc

Contents?: true

Size: 314 Bytes

Versions: 3

Compression:

Stored size: 314 Bytes

Contents

require "singleton"
require "ember_cli/app"

module EmberCli
  class Configuration
    include Singleton

    attr_accessor :watcher

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

    def apps
      @apps ||= HashWithIndifferentAccess.new
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ember-cli-rails-0.12.2 lib/ember_cli/configuration.rb
ember-cli-rails-0.12.1 lib/ember_cli/configuration.rb
ember-cli-rails-0.12.0 lib/ember_cli/configuration.rb