Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Ruby Modules!
You have completed Ruby Modules!
Preview
In Ruby, a module is kind of like a Class or Object in that it is it’s own “thing”. Modules are used for a few different purposes: containers, behaviors, and occasionally storage.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
In this course we're going to
be going over modules in Ruby.
0:00
If you've been following along
with other Treehouse Ruby courses
0:02
you've already come across and used
modules, although you may not know it.
0:05
If you haven't, don't worry.
0:10
We'll be doing a little bit of
a refresher about classes and
0:11
how they relate to modules.
0:15
The two share some very
special similarities.
0:17
In Ruby, a module is kind of like a class
or object in that it's its own thing.
0:20
Modules are used for
a few different purposes, containers,
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up