class Ember::Generators::TemplateGenerator

Public Instance Methods

create_template_files() click to toggle source
# File lib/generators/ember/template_generator.rb, line 16
def create_template_files
  file_path = File.join(ember_path, 'templates', class_path, "#{file_name.dasherize}.hbs")
  template 'template.hbs', file_path
end