class Porpoise::InstallGenerator

Public Instance Methods

create_migration_file() click to toggle source
# File lib/generators/porpoise/install_generator.rb, line 8
def create_migration_file
  copy_file "migration.rb", "db/migrate/#{Date.today.strftime('%Y%m%d%H%M%S')}_porpoise_create_key_value_objects.rb"
end