MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Ruby Modules

Course Summary

Modules are an extremely powerful utility when coding in Ruby. Modules allow you to add behavior to classes, hold constants, add namespaces, and more.


  • +

    Course Syllabus

    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. 6 steps
    • What Are Modules? 1:47
    • What Are Modules? 4 questions
    • Write a Simple Module 3:35
    • Write a Simple Module 1 objective
    • Namespaces 4:58
    • Namespaces 2 objectives

    Ruby Core Modules

    In this stage, we'll learn about some of the modules that are included as part of the Ruby core distribution. 6 steps

    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. 6 steps

    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. 10 steps


Course Fee:
USD 25

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

This course is listed under Open Source and Development & Implementations Community

Related Posts:

Attended this course?

Back to Top

 
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url