Class: Frontend::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Frontend::Generators::InstallGenerator
- Defined in:
- lib/generators/frontend/install/install_generator.rb
Instance Method Summary collapse
- #copy_email_template ⇒ Object
- #copy_services ⇒ Object
- #copy_settings ⇒ Object
- #copy_variables ⇒ Object
Instance Method Details
#copy_email_template ⇒ Object
25 26 27 28 |
# File 'lib/generators/frontend/install/install_generator.rb', line 25 def copy_email_template say_status("copying", "Email Template", :green) copy_file "app/views/layouts/mail.html.haml", "app/views/layouts/mail.html.haml" end |
#copy_services ⇒ Object
10 11 12 13 |
# File 'lib/generators/frontend/install/install_generator.rb', line 10 def copy_services say_status("copying", "Blank Services File", :green) copy_file "config/services.yml", "config/services.yml" end |
#copy_settings ⇒ Object
15 16 17 18 |
# File 'lib/generators/frontend/install/install_generator.rb', line 15 def copy_settings say_status("copying", "Blank Settings File", :green) copy_file "config/settings.yml", "config/settings.yml" end |
#copy_variables ⇒ Object
20 21 22 23 |
# File 'lib/generators/frontend/install/install_generator.rb', line 20 def copy_variables say_status("copying", "Blank Variables File", :green) copy_file "vendor/assets/stylesheets/variables.css.sass", "app/assets/stylesheets/variables.css.sass" end |