Class: Locale

Inherits:
Database show all
Defined in:
lib/capistrano/tasks/database.rb

Overview

The local database

Instance Method Summary collapse

Methods inherited from Database

#dump, #initialize, #sync_dir

Constructor Details

This class inherits a constructor from Database

Instance Method Details

#uploadObject

Upload the dump file to the shared directory



48
49
50
51
52
# File 'lib/capistrano/tasks/database.rb', line 48

def upload
  remote_file = "#{shared_path}/sync/#{dump_file}"

  upload! dump_file, remote_file
end