class IOStreams::SymmetricEncryption::Reader
Public Class Methods
stream(input_stream, **args, &block)
click to toggle source
read from a file/stream using Symmetric Encryption
# File lib/io_streams/symmetric_encryption/reader.rb, line 5 def self.stream(input_stream, **args, &block) Utils.load_soft_dependency("symmetric-encryption", ".enc streaming") unless defined?(SymmetricEncryption) ::SymmetricEncryption::Reader.open(input_stream, **args, &block) end