Sha256: a50f2cfa764eb7efc20bdfb38601360414fecebe8350cc5e4a4ea8941f82f173
Contents?: true
Size: 617 Bytes
Versions: 11
Compression:
Stored size: 617 Bytes
Contents
# encoding: utf-8 module Backup module Encryptor class Base include Backup::CLI::Helpers include Backup::Configuration::Helpers def initialize load_defaults! end private ## # Return the encryptor name, with Backup namespace removed def encryptor_name self.class.to_s.sub('Backup::', '') end ## # Logs a message to the console and log file to inform # the client that Backup is encrypting the archive def log! Logger.message "Using #{ encryptor_name } to encrypt the archive." end end end end
Version data entries
11 entries across 11 versions & 4 rubygems