Class: HstoreRadioButtons::Generators::MigrationGenerator
- Inherits:
-
ActiveRecord::Generators::Base
- Object
- ActiveRecord::Generators::Base
- HstoreRadioButtons::Generators::MigrationGenerator
- Extended by:
- Base
- Defined in:
- lib/generators/hstore_radio_buttons/migration/migration_generator.rb
Instance Method Summary collapse
Methods included from Base
Instance Method Details
#generate_files ⇒ Object
11 12 13 |
# File 'lib/generators/hstore_radio_buttons/migration/migration_generator.rb', line 11 def generate_files migration_template 'migration.rb', "db/migrate/#{name}" end |