Class: Coco::Generators::AssetsGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/rails/generators/coco/assets/assets_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_coObject



8
9
10
# File 'lib/rails/generators/coco/assets/assets_generator.rb', line 8

def copy_co
  template "javascript.js.co", File.join('app/assets/javascripts', class_path, "#{file_name}.js.co")
end