Instantiates a new RSync::Local Syncer.
Pre-configured defaults specified in Configuration::Syncer::RSync::Local are set via a super() call to RSync::Base, which in turn will invoke Syncer::Base.
Once pre-configured defaults and RSync specific defaults are set, the block from the user's configuration file is evaluated.
# File lib/backup/syncer/rsync/local.rb, line 17 def initialize(&block) super instance_eval(&block) if block_given? end
Performs the RSync::Local operation debug options: -vhP
# File lib/backup/syncer/rsync/local.rb, line 26 def perform! Logger.message( "#{ syncer_name } started syncing the following directories:\n\s\s" + @directories.join("\n\s\s") ) run("#{ utility(:rsync) } #{ options } " + "#{ directories_option } '#{ dest_path }'") end
Generated with the Darkfish Rdoc Generator 2.