Class: Ls::Generators::AssetsGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Ls::Generators::AssetsGenerator
- Defined in:
- lib/rails/generators/ls/assets/assets_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_livescript ⇒ Object
8 9 10 |
# File 'lib/rails/generators/ls/assets/assets_generator.rb', line 8 def copy_livescript template 'javascript.ls', File.join('app/assets/javascripts', class_path, "#{file_name}.ls") end |