Module: Backup::CommandHelper

Included in:
Adapters::Base, Record::Local, Storage::Local
Defined in:
lib/backup/command_helper.rb

Instance Method Summary collapse

Instance Method Details

#log(command) ⇒ Object



7
8
9
# File 'lib/backup/command_helper.rb', line 7

def log(command)
  puts "Backup => #{command}"
end

#run(command) ⇒ Object



3
4
5
# File 'lib/backup/command_helper.rb', line 3

def run(command)
  Kernel.system command
end