class Es6::Generators::AssetsGenerator

Public Instance Methods

copy_es6() click to toggle source
# File lib/es6/rails/generators/assets_generator.rb, line 6
def copy_es6
  template "javascript.es6", File.join('app/assets/javascripts', class_path, "#{file_name}.es6")
end