Class: ZenSeo::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ZenSeo::Generators::InstallGenerator
- Extended by:
- ActiveRecord::Generators::Migration
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/install.rb
Instance Method Summary collapse
-
#copy_files(*args) ⇒ Object
Copies the migration template to db/migrate.
Instance Method Details
#copy_files(*args) ⇒ Object
Copies the migration template to db/migrate.
13 14 15 |
# File 'lib/generators/install.rb', line 13 def copy_files(*args) migration_template 'create_seos.rb', 'db/migrate/create_seos.rb' end |