Class: Remote

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

Overview

The remote 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

#downloadObject

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