Class: Locale
Overview
The local database
Instance Method Summary collapse
-
#upload ⇒ Object
Upload the dump file to the shared directory.
Methods inherited from Database
Constructor Details
This class inherits a constructor from Database
Instance Method Details
#upload ⇒ Object
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 |