Class: IOStreams::SymmetricEncryption::Reader
- Defined in:
- lib/io_streams/symmetric_encryption/reader.rb
Instance Attribute Summary
Attributes inherited from Reader
Class Method Summary collapse
-
.stream(input_stream, **args, &block) ⇒ Object
read from a file/stream using Symmetric Encryption.
Methods inherited from Reader
Constructor Details
This class inherits a constructor from IOStreams::Reader
Class Method Details
.stream(input_stream, **args, &block) ⇒ Object
read from a file/stream using Symmetric Encryption
5 6 7 8 9 |
# 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 |