class Backup::Encryptor::Base
Public Class Methods
new()
click to toggle source
# File lib/backup/encryptor/base.rb, line 9 def initialize load_defaults! end
Private Instance Methods
encryptor_name()
click to toggle source
Return the encryptor name, with Backup
namespace removed
# File lib/backup/encryptor/base.rb, line 17 def encryptor_name self.class.to_s.sub('Backup::', '') end
log!()
click to toggle source
Logs a message to the console and log file to inform the client that Backup
is encrypting the archive
# File lib/backup/encryptor/base.rb, line 24 def log! Logger.info "Using #{ encryptor_name } to encrypt the archive." end