Method: LatestMigration::Base.open_latest_migration

Defined in:
lib/latest_migration/base.rb

.open_latest_migrationObject



4
5
6
7
8
9
# File 'lib/latest_migration/base.rb', line 4

def open_latest_migration
  puts "Opening #{latest_migration_filename}"
  system editor_command
rescue LatestMigration::Errors::MigrationsNotFoundError => e
  puts e
end