Method: Backup::Syncer::Base#exclude

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

#exclude(pattern) ⇒ Object

For Cloud Syncers, pattern can be a string (with shell-style wildcards) or a regex. For RSync, each pattern will be passed to rsync’s –exclude option.



49
50
51
# File 'lib/backup/syncer/base.rb', line 49

def exclude(pattern)
  excludes << pattern
end