TreeHouse Modern WordPress Workflow
TreeHouse Modern WordPress Workflow
April 29, 2018
TreeHouse Scrum Basics
TreeHouse Scrum Basics
April 30, 2018
TreeHouse Ruby Modules

Modules are an extremely powerful utility when coding in Ruby. Modules allow you to add behavior to classes, hold constants, add namespaces, and more
Ruby Module Basics
In this stage, is to introduce the basics of working with modules in Ruby as well as give the students brief exposure to more advanced topics with modules.
Ruby Core Modules
In this stage, we’ll learn about some of the modules that are included as part of the Ruby core distribution.
Include and Extend
Ruby Modules give you two different ways to augment behavior: Include and Extend. In this stage, we’ll learn about the differences between the two as well as how to use them when creating our own modules.
Store Inventory Using Modules
Now that we now how modules work, we’re going to write a simple program that simulates keeping inventory at a small retail store. The store sells shirts, pants, and accessories. We’re going to put everything together using modules, include, extend, and friends. Make sure to follow along using Workspaces.


AuthorJason Seifer
File siza214 MB


TreeHouse Ruby Modules