Day 10. Program File Layout, Program Design, and the General Case

And I reckon that by the time there ain't any boats left at all, the Commission will have the old thing all reorganized, and dredged out, and fenced in, and tidied up, to a degree that will make navigation just simply perfect, and absolutely safe and profitable; and all the days will be Sundays…

—Mark Twain, Life on the Mississippi (1883)

Today we continue to explore the processes of program organization in Ruby. We're going to split our time between some of the nuts and bolts of program file management—in particular, the process of splitting your program up into multiple files—and some more theoretical questions—specifically, the roles of abstraction and generalization in the ...

Get Sams Teach Yourself Ruby in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.