Method: SymmetricEncryption::Reader.read
- Defined in:
- lib/symmetric_encryption/reader.rb
.read(file_name_or_stream, **args) ⇒ Object
Read the entire contents of a file or stream into memory.
Notes:
-
Do not use this method for reading large files.
78 79 80 |
# File 'lib/symmetric_encryption/reader.rb', line 78 def self.read(file_name_or_stream, **args) Reader.open(file_name_or_stream, **args, &:read) end |