Class: Bemi::MigrationGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Bemi::MigrationGenerator
- Includes:
- ActiveRecord::Generators::Migration
- Defined in:
- lib/bemi/migration_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_migration_file ⇒ Object
12 13 14 |
# File 'lib/bemi/migration_generator.rb', line 12 def create_migration_file migration_template 'migration.rb.erb', File.join(db_migrate_path, "bemi_migration.rb") end |