Class: Roleplayer::Generators::MigrationGenerator
- Inherits:
-
Base
- Object
- Rails::Generators::Base
- Base
- Roleplayer::Generators::MigrationGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/roleplayer/migration/migration_generator.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from Base
next_migration_number, source_root
Instance Method Details
#create_migration_file ⇒ Object
8 9 10 |
# File 'lib/generators/roleplayer/migration/migration_generator.rb', line 8 def create_migration_file migration_template "migration.rb", "db/migrate/roleplayer_migration" end |