Class: DurableFlow::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- DurableFlow::Generators::InstallGenerator
- Includes:
- ActiveRecord::Generators::Migration
- Defined in:
- lib/generators/durable_flow/install_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.next_migration_number(dirname) ⇒ Object
17 18 19 |
# File 'lib/generators/durable_flow/install_generator.rb', line 17 def self.next_migration_number(dirname) ActiveRecord::Generators::Base.next_migration_number(dirname) end |
Instance Method Details
#copy_migration ⇒ Object
13 14 15 |
# File 'lib/generators/durable_flow/install_generator.rb', line 13 def copy_migration migration_template "create_durable_flow_tables.rb", "db/migrate/create_durable_flow_tables.rb" end |