lib/crypt_keeper/model.rb
# Private: Ensure that the encryptor responds to new
Ensure that the encryptor responds to new
Ensure that the encryptor responds to new
def ensure_valid_encryptor!
        unless defined?(encryptor_klass) && encryptor_klass.respond_to?(:new)
          raise "You must specify a valid encryptor `crypt_keeper :encryptor => :aes`"
        end
      end
def ensure_valid_encryptor! unless defined? ( encryptor_klass ) && encryptor_klass . respond_to? ( :new ) raise "You must specify a valid encryptor `crypt_keeper :encryptor => :aes`" end end
Private: Ensure that the encryptor responds to new
Private : Ensure that the encryptor responds to new