Class: BlueprintConfig::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- BlueprintConfig::InstallGenerator
- Includes:
- ActiveRecord::Generators::Migration
- Defined in:
- lib/generators/blueprint_config/install/install_generator.rb
Constant Summary collapse
- TEMPLATES =
File.join(File.dirname(__FILE__), 'templates')
Instance Method Summary collapse
Instance Method Details
#create_migration_file ⇒ Object
13 14 15 |
# File 'lib/generators/blueprint_config/install/install_generator.rb', line 13 def create_migration_file migration_template 'migration.rb.erb', 'db/migrate/create_blueprint_settings.rb' end |