Day 11. Modules and Classes in Depth

Genius detects through the fly, through the caterpillar, through the grub, through the egg, the constant individual; through countless individuals, the fixed species; through many species, the genus; through all genera, the steadfast type; through all the kingdoms of organized life, the eternal unity.

—Ralph Waldo Emerson, History, from Essays: First Series (1841)

Today, part III of our program organization trilogy, we'll look at designing modules and classes for reuse, embedding modules, and class-module distribution. We'll also explore overriding methods. As you can tell, we've got a lot to cover today, so let's get started.

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.