RubyFlow The Ruby and Rails community linklog

Under the Hood: “Slurping” and Streaming Files in Ruby

In Ruby Magic #14, we’ll look into the difference between “slurping” and streaming files in Ruby. Along the way, we’ll learn about I/O, and how Ruby reads files line by line without slurping the whole file content into memory.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in