Read Large File in Ruby

In this article, we will discuss how to read a large file in Ruby. We will cover different methods to read large files efficiently and handle memory issues when working with large files.

May 11, 2024 · 4 min · 759 words · Bá Tới

StringIO in Ruby

In this article, we will discuss how to use StringIO in Ruby to work with in-memory strings as if they were files. We will cover how to create StringIO objects, read from and write to them, and use them in place of file objects in Ruby.

May 11, 2024 · 4 min · 783 words · Bá Tới