Class: ActiveFrontend::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ActiveFrontend::InstallGenerator
- Defined in:
- lib/generators/active_frontend/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_javascript_file ⇒ Object
7 8 9 |
# File 'lib/generators/active_frontend/install_generator.rb', line 7 def copy_javascript_file copy_file("install.js", "vendor/assets/javascripts/active_frontend.js") end |
#copy_stylesheet_file ⇒ Object
11 12 13 |
# File 'lib/generators/active_frontend/install_generator.rb', line 11 def copy_stylesheet_file copy_file("install.scss", "vendor/assets/stylesheets/active_frontend.scss") end |