Class: WelcomeCycle::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- WelcomeCycle::Generators::InstallGenerator
- Defined in:
- lib/generators/welcome_cycle/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_email_list ⇒ Object
11 12 13 |
# File 'lib/generators/welcome_cycle/install/install_generator.rb', line 11 def copy_email_list copy_file 'welcome_cycle.rb', File.join('config','initializers','welcome_cycle.rb') end |
#copy_welcome_cycle_mailer ⇒ Object
7 8 9 |
# File 'lib/generators/welcome_cycle/install/install_generator.rb', line 7 def copy_welcome_cycle_mailer copy_file 'welcome_cycle_mailer.rb', File.join('app','mailers','welcome_cycle_mailer.rb') end |