Module: BackupDemon
- Defined in:
- lib/backup_demon.rb,
lib/backup_demon/cli.rb,
lib/backup_demon/sync.rb,
lib/backup_demon/config.rb,
lib/backup_demon/daemon.rb,
lib/backup_demon/device.rb,
lib/backup_demon/version.rb,
lib/backup_demon/notifier.rb
Defined Under Namespace
Classes: CLI, Config, Daemon, Device, Notifier, Sync
Constant Summary
collapse
- Version =
VERSION = '0.0.6'
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
13
14
15
|
# File 'lib/backup_demon.rb', line 13
def self.config
@config ||= Config.new
end
|
.config=(options = {}) ⇒ Object
9
10
11
|
# File 'lib/backup_demon.rb', line 9
def self.config=(options = {})
@config = Config.new(options)
end
|
17
18
19
|
# File 'lib/backup_demon.rb', line 17
def self.configure
yield config
end
|