In the past module, we got to know some essential aspects of programming in Ruby: class variables and methods. You can do a quick check of the list of topics we covered:
- How to recognize a class constant
- How to utilize class constants
- How to know when to use
attr_accessor
- How to know when to define private methods
- The difference between public and private methods
- How to use class variables to keep track of a class's data
- The concept of remembrance in object-oriented programming
That's a lot! But now you've seen how it all works and how you can use it to level up your Ruby programming.