In the previous chapter, we learned some fundamental programming techniques every Ruby engineers need to know about. For instance, we learned how to express a float.
Being true to the object-oriented paradigm, in Ruby, every object has a class. Understanding how Ruby works is necessary to becoming a productive Ruby and Rails engineer.
In this chapter, we will explore more advanced topics in Ruby programming, such as how to create our own class and how a class is different from a module.
We will also discuss methods, blocks, lambdas, and everything in between. With metaprogramming, we will learn how to create ...