© Adam Notodikromo 2021
A. NotodikromoLearn Rails 6https://doi.org/10.1007/978-1-4842-6026-5_3

3. Advanced Ruby

Adam Notodikromo1 
(1)
Tokyo, Japan
 

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

Get Learn Rails 6: Accelerated Web Development with Ruby on Rails now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.