Class: AbAdmin::Generators::GlobGenerator
- Inherits:
-
ActiveRecord::Generators::Base
- Object
- ActiveRecord::Generators::Base
- AbAdmin::Generators::GlobGenerator
- Defined in:
- lib/generators/ab_admin/glob/glob_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_glob_migration ⇒ Object
11 12 13 |
# File 'lib/generators/ab_admin/glob/glob_generator.rb', line 11 def create_glob_migration migration_template 'migration.erb', "db/migrate/#{migration_name}.rb" end |