Class: Backup::Syncer::RSync::Base

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/syncer/rsync/base.rb

Direct Known Subclasses

Local, Push

Constant Summary

Constants included from CLI::Helpers

CLI::Helpers::UTILITY

Instance Attribute Summary collapse

Attributes inherited from Base

#mirror, #path

Instance Method Summary collapse

Methods inherited from Base

#add, #directories

Methods included from Configuration::Helpers

included

Constructor Details

#initializeBase

Instantiates a new RSync Syncer object and sets the default configuration



14
15
16
17
18
# File 'lib/backup/syncer/rsync/base.rb', line 14

def initialize
  super

  @additional_options ||= Array.new
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Backup::Configuration::Helpers

Instance Attribute Details

#additional_optionsObject

Additional options for the rsync cli



9
10
11
# File 'lib/backup/syncer/rsync/base.rb', line 9

def additional_options
  @additional_options
end