October 2006
Intermediate to advanced
888 pages
16h 55m
English
This chapter provided an overview of I/O in Ruby. We’ve looked at the IO class itself and its descendant File, along with other related classes such as Dir and Pathname. We’ve seen some useful tricks for manipulating IO objects and files.
We’ve also looked at data storage at a slightly higher level—storing data externally as marshaled objects. Finally, we’ve had a short overview of the true database solutions available in Ruby, along with some OOP techniques for interacting with them in easier ways.
Later, we will look at I/O again from the perspective of sockets and network programming. But before getting too deep into that, let’s examine some other topics.
Read now
Unlock full access