Sha256: 1d5f4e4de80a08802b2f3de29e9b4837fb3086aff7239629a8e13650ffffed1b
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 Bytes
Contents
require 'ember/version' require 'generators/ember/generator_helpers' module Ember module Generators class TemplateGenerator < ::Rails::Generators::NamedBase include Ember::Generators::GeneratorHelpers source_root File.expand_path("../../templates", __FILE__) desc "Creates a new Ember.js template" class_option :javascript_engine, :desc => "Engine for JavaScripts" def create_template_files template 'template.handlebars', File.join('app/assets/javascripts/templates', class_path, "#{file_name}.handlebars") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ember-rails-0.12.0 | lib/generators/ember/template_generator.rb |