Method: Backup::Syncer::RSync::Base#initialize

Defined in:
lib/backup/syncer/rsync/base.rb

#initialize(syncer_id = nil, &block) ⇒ Base

Returns a new instance of Base.



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

def initialize(syncer_id = nil, &block)
  super
  instance_eval(&block) if block_given?

  @path ||= '~/backups'
end