Class: RMyBackup::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/rmybackup.rb

Instance Method Summary collapse

Constructor Details

#initialize(config_file) ⇒ Base

Returns a new instance of Base.



13
14
15
16
17
# File 'lib/rmybackup.rb', line 13

def initialize(config_file)
  @config_file = config_file
  #if the config file passes, run the backups
  run_backups if parse_config
end