Sha256: c3fc5cf25fe501ffe5e0180a7bb4585bbcc0fbaf9cfad066577d6ca1dbe783f3

Contents?: true

Size: 216 Bytes

Versions: 5

Compression:

Stored size: 216 Bytes

Contents

module Backup
  module CommandHelper
    def run(command)
      Kernel.system command
    end
 
    def log(command)
      puts "Backup (#{Time.now.strftime("%Y-%m-%d %H:%M:%S %Z")}) => #{command}"
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
dmitryv-backup-2.4.0 lib/backup/command_helper.rb
backup-2.4.0 lib/backup/command_helper.rb
backup-2.3.3.1 lib/backup/command_helper.rb
backup-2.3.3 lib/backup/command_helper.rb
backup-2.3.2 lib/backup/command_helper.rb