lib/symmetric_encryption/writer.rb in symmetric-encryption-3.8.2 vs lib/symmetric_encryption/writer.rb in symmetric-encryption-3.8.3

- old
+ new

@@ -77,11 +77,11 @@ # # # # Example: Encrypt and write data to a file # SymmetricEncryption::Writer.open('test_file') do |file| # file.write "Hello World\n" - # file.write "Keep this secret" + # file.write 'Keep this secret' # end # # # Example: Compress, Encrypt and write data to a file # SymmetricEncryption::Writer.open('encrypted_compressed.zip', compress: true) do |file| # file.write "Hello World\n" @@ -191,10 +191,10 @@ # Write to the IO Stream as encrypted data # Returns self # # Example: - # file << "Hello.\n" << "This is Jack" + # file << "Hello.\n" << 'This is Jack' def <<(data) write(data) self end