Class: BcmsSpree::InstallGenerator
- Inherits:
-
Cms::ModuleInstallation
- Object
- Cms::ModuleInstallation
- BcmsSpree::InstallGenerator
- Defined in:
- lib/generators/bcms_spree/install/install_generator.rb
Instance Method Summary collapse
-
#add_seed_data_to_project ⇒ Object
Uncomment to add module specific seed data to a project.
Instance Method Details
#add_seed_data_to_project ⇒ Object
Uncomment to add module specific seed data to a project.
12 13 14 15 |
# File 'lib/generators/bcms_spree/install/install_generator.rb', line 12 def add_seed_data_to_project copy_file "../bcms_spree.seeds.rb", "db/bcms_spree.seeds.rb" append_to_file "db/seeds.rb", "load File.expand_path('../bcms_spree.seeds.rb', __FILE__)\n" end |