class CarrierWave::Secure::EncryptedFile
Encrypts the file on reading, using decorator pattern.
Public Instance Methods
read()
click to toggle source
# File lib/carrierwave/secure/encrypted_file.rb, line 9 def read @read ||= cipher.encrypt(@decorated.read) end