Class: SpreeEssentials::Generators::PressGenerator
- Inherits:
-
EssentialsBase
- Object
- Rails::Generators::Base
- EssentialsBase
- SpreeEssentials::Generators::PressGenerator
- Defined in:
- lib/generators/spree_essentials/press_generator.rb
Instance Method Summary collapse
Methods inherited from EssentialsBase
count, new_migration_number, next_migration_number
Instance Method Details
#copy_migrations ⇒ Object
10 11 12 |
# File 'lib/generators/spree_essentials/press_generator.rb', line 10 def copy_migrations migration_template "create_press.rb", "db/migrate/create_press.rb" end |