Class: Remote
Overview
The remote database
Instance Method Summary collapse
-
#download ⇒ Object
Download the dump file to the local directory.
Methods inherited from Database
Constructor Details
This class inherits a constructor from Database
Instance Method Details
#download ⇒ Object
Download the dump file to the local directory
34 35 36 37 38 |
# File 'lib/capistrano/tasks/database.rb', line 34 def download local_file = "#{shared_path}/sync/#{dump_file}" download! dump_file, local_file end |