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
9 10 11 |
# File 'lib/generators/active_frontend/install_generator.rb', line 9 def copy_javascript_file copy_file('install.js', 'vendor/assets/javascripts/active_frontend.js') end |
#copy_stylesheet_file ⇒ Object
13 14 15 |
# File 'lib/generators/active_frontend/install_generator.rb', line 13 def copy_stylesheet_file copy_file('install.scss', 'vendor/assets/stylesheets/active_frontend.scss') end |