June 2017
Beginner
330 pages
7h 30m
English
Ruby utilizes a unique syntax for creating setters and getters in a class. In this guide, we will walk through how to implement these processes.
Creating a class is fairly simple in Ruby. It's so simple that it wasn't even worth dedicating an entire guide to it (I build courses just like I code, I despise wasting my time or yours for dead simple concepts).
To define a class simply type the class word followed by the name you want to give to your class, and end it with the end word. Anything contained between class and end belongs to this class.
Read now
Unlock full access