Image for post
Image for post

I recently completed the Launch School RB129 written assessment. After doing some revisions, and a lot of research online, I still felt like Ruby Modules were not extremely clear. After writing this article, I now feel like I have a good grasp on what a Module is, how to use them, and what their overall role is. I hope you feel the same after reading it!

What is a Ruby Module?

Why not just use a Class?

What is the role of a Module?

Other considerations

What is a Ruby Module?

A module is a way for a Ruby programmer to encapsulate logically similar classes…

Nathen Bowes

Launch Engineer @ Shopify

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store