Class: AbAdmin::Generators::GlobGenerator

Inherits:
ActiveRecord::Generators::Base
  • Object
show all
Defined in:
lib/generators/ab_admin/glob/glob_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_glob_migrationObject


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