Sha256: 4c4629e517dfe3c992d84b34b9dd26425ab6771e71da536ce0dee91975a0890e

Contents?: true

Size: 483 Bytes

Versions: 2

Compression:

Stored size: 483 Bytes

Contents

module EmberCLI
  class Engine < Rails::Engine
    initializer "ember-cli-rails.view_helpers" do
      ActionView::Base.send :include, ViewHelpers
    end

    initializer "ember-cli-rails.inflector" do
      ActiveSupport::Inflector.inflections :en do |inflect|
        inflect.acronym "CLI"
      end
    end

    initializer "ember-cli-rails.enable" do
      EmberCLI.enable! unless ENV["SKIP_EMBER"]
    end

    rake_tasks do
      load "tasks/ember-cli.rake"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ember-cli-rails-0.1.8 lib/ember-cli/engine.rb
ember-cli-rails-0.1.7 lib/ember-cli/engine.rb