Class: CaptainConfigGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
ActiveRecord::Generators::Migration
Defined in:
lib/generators/captain_config_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_captain_configs_migrationObject



10
11
12
# File 'lib/generators/captain_config_generator.rb', line 10

def create_captain_configs_migration
  migration_template 'create_captain_configs.rb.tt', "#{db_migrate_path}/create_captain_configs.rb"
end