June 2017
Beginner
330 pages
7h 30m
English
In this section, we are going to talk about the five different types of variables in Ruby, including how and when they should be used, along with how variable scope works in the Ruby programming language. For this lesson, I will be using the Sublime Text editor instead of repl.it so that you can see how Ruby works using files (which is the standard way to build scripts).
The five different Ruby variable types are as follows:
Let's take a look at each of these variable types in detail.
Read now
Unlock full access