Modular Ruby

Ruby modules are the foundational concept for code decomposition and organization, metaprogramming, and object-oriented classes. Get a deep understanding of modules and code-loading in Ruby, and you'll write stronger code!

Graceful.Dev / RubyTapas topics have touched on Modules and code organization frequently over the years. This garden path collects some essential episodes on Ruby’s module system together in one place, and provides a suggested path through them.

In this course, we’ll broaden and deepen our understanding of modularity in Ruby from multiple perspectives. We’ll dive deep into Ruby code-loading mechanisms. We’ll learn how Ruby Modules serve as namespaces, as units of [de]composition, as inheritance mechanisms, and as the building blocks of both Ruby’s class system and its rich facilities for creating internal Domain-Specific Languages (DSLs).

About this course

Prerequisites: Modular Ruby is part of the Ruby Fluency Garden Tour, which you may want to follow in order if you are still learning Ruby.

This course is a Graceful.Dev Garden Path, meaning it is a suggested pathway through a curated selection of self-contained topics. Its status is mature: new topics may still be added, but it is a fully fleshed-out course of study.

Not Enrolled

Course Includes

  • 6 Modules
  • 26 Topics
Join the Conversation!

Drop us your email and we’ll send you the Code and Grace newsletter. You’ll get highlights from our podcast, news about our recent publications, and notes on what we’re thinking about and enjoying lately.