Understanding how to read and write files in Ruby, including text and binary files.
Learn how to read from and write to files in Ruby.
Understand file modes and handling exceptions.
By completing these tasks you should have a good understanding of how to read and write files in Ruby, how to expand your program with modules/libraries, and how to gracefully handle errors.
Understanding how to read and write files in Ruby, including text and binary files.
Learn how to read from and write to files in Ruby. Understand file modes and handling exceptions.
By completing these tasks you should have a good understanding of how to read and write files in Ruby, how to expand your program with modules/libraries, and how to gracefully handle errors.
https://www.theodinproject.com/lessons/ruby-files-and-serialization Thoughtbot’s I/O in Ruby icc0612’s introduction to serialization Choosing the Right Serialization Format