Method: Backup::Encryptor::OpenSSL#initialize
- Defined in:
- lib/backup/encryptor/open_ssl.rb
#initialize(&block) ⇒ OpenSSL
Creates a new instance of Backup::Encryptor::OpenSSL and sets the password attribute to what was provided
27 28 29 30 31 32 33 34 35 |
# File 'lib/backup/encryptor/open_ssl.rb', line 27 def initialize(&block) super @base64 ||= false @salt ||= true @password_file ||= nil instance_eval(&block) if block_given? end |