Class: Caravan::DeployMethods::RsyncLocal

Inherits:
Caravan::Deploy::Base show all
Defined in:
lib/caravan/deploy_methods/rsync_local.rb

Instance Attribute Summary

Attributes inherited from Caravan::Deploy::Base

#debug, #dst, #src

Instance Method Summary collapse

Methods inherited from Caravan::Deploy::Base

#after_change, #after_create, #after_deploy, #before_deploy, #before_destroy, #handle_change, #initialize, #relative_path

Constructor Details

This class inherits a constructor from Caravan::Deploy::Base

Instance Method Details

#runObject



6
7
8
9
10
# File 'lib/caravan/deploy_methods/rsync_local.rb', line 6

def run
  super do |s, d|
    Caravan::Command.run("rsync -rv #{s} #{d}", @debug)
  end
end