Ruby Tutorial
A dynamic, general-purpose language used to build web applications.
List of Lessons to Learn Ruby
This is a list of Ruby lessons where you can start learning immediately without environment setup.
Study
Ruby I
0%
Ruby is a language responsible for building the logic behind web applications. Let's first learn the fundamentals of Ruby's syntax in this lesson.
What You Can Learn in This Lesson
- 
1. Getting Started with Ruby- 
Getting Started
- 
Ruby Syntax and Strings
- 
Integers and Basic Calculations
- 
More Calculations
- 
String Concatenation
 
- 
- 
2. Variables- 
Variables
- 
Using Variables
- 
Roles of Variables
- 
Updating Variables
- 
Updating Variables (2)
- 
String Interpolation
 
- 
- 
3. Booleans and Conditions- 
if Statements
- 
Booleans and Comparison Operators
- 
Booleans and Comparison Operators (2)
- 
else Statements
- 
elsif Statements
- 
Combining Conditions
 
- 
- 
4. The Final Project- 
The Final Project
 
- 
Study
Ruby II
0%
We'll be learning how to handle data and loops in this lesson. Let's master the basics of Ruby together!
What You Can Learn in This Lesson
- 
1. Arrays and Loops- 
Arrays
- 
Using Arrays
- 
The each Method
- 
Variable Scopes
 
- 
- 
2. Hashes and Symbols- 
Hashes
- 
Using Hashes
- 
Symbols
- 
Hash Keys
 
- 
- 
3. nil- 
nil
- 
Using if with nil
- 
Arrays with Hash Elements
- 
Arrays with Hash Elements (2)
- 
Arrays with Hash Elements (3)
 
- 
- 
4. The Final Project- 
The Final Project
- 
The Final Project (2)
 
- 
Study
Ruby III
0%
In Ruby Ⅲ, we'll be learning about methods. Things get a little tricky from here on, but let's master them step by step!
What You Can Learn in This Lesson
- 
1. Methods- 
Methods
- 
Defining a Method
 
- 
- 
2. Parameters and Arguments- 
Parameters and Arguments
- 
Parameters and Arguments (2)
- 
Methods and Scopes
- 
Multiple Parameters
 
- 
- 
3. Return Values- 
Return Values
- 
Types of Return Values
- 
Multiple Return Values
 
- 
- 
4. Keyword Arguments- 
Keyword Arguments
 
- 
Study
Ruby IV
0%
In Ruby Ⅳ, we'll be learning about object oriented programming. Once you master this lesson, you will no longer call yourself a Ruby beginner!
What You Can Learn in This Lesson
- 
1. Classes and Instances- 
Getting Started
- 
Defining a Class
- 
Instance Variables
- 
Creating an Instance
- 
Using Instance Variables
- 
Multiple Instances
 
- 
- 
2. Instance Methods- 
Using Methods
- 
Instance Methods
- 
Methods and Instance Variables
- 
Classes and Instances Review
- 
The initialize Method
- 
The initialize Method (2)
 
- 
- 
3. The Food Ordering App- 
Separating Files
- 
Displaying the Menu
- 
Displaying the Menu (2)
- 
Receiving Input
- 
Selecting a Menu Item
 
- 
Study
Ruby V
0%
In this lesson, we'll be learning about class inheritance to improve the food ordering app.
What You Can Learn in This Lesson
- 
1. Class Inheritance- 
Getting Started
- 
Class Inheritance
- 
How Inheritance Works
- 
Adding Instance Variables
- 
Adding Instance Methods
- 
Food Ordering App Review
- 
Override
- 
Override (2)
- 
super
- 
Override Review
 
- 
- 
2. The Date Class and Class Methods- 
The Date Class
- 
The Date Class (2)
- 
Defining Class Methods
- 
Defining Class Methods (2)
- 
Calling Class Methods
 
- 
After Finishing Ruby Lessons
Set up your Ruby environment and apply what you've learned in the real world.
Courses Related to Ruby
Expand what you can do by learning related courses.
          Start the lesson from the initial state.
Warning: your code will be deleted.
        
          Review the lesson without
resetting your code.