Learn Ruby from Scratch
Discover Ruby's simplicity and power through hands-on practice. Gain insights into variables, built-in classes, objects, and more, making you productive and happy with programming.
Join 3.1 million developers at
What You'll Learn
- Learn how to program using Ruby as your first programming language.
- Learn idiomatic Ruby.
- Learn about blocks, methods, regular expressions, and more in Ruby.
Learning Roadmap
1.
The Big Picture
The Big Picture
2.
Variables
Variables
3.
Built-in Class: Numeric
Built-in Class: Numeric
5 Lessons
5 Lessons
4.
Built-in Class: String
Built-in Class: String
8 Lessons
8 Lessons
7.
Built-in Class: Array
Built-in Class: Array
10 Lessons
10 Lessons
8.
Built-in Class: Hash
Built-in Class: Hash
7 Lessons
7 Lessons
9.
Objects
Objects
10 Lessons
10 Lessons
10.
Methods
Methods
13 Lessons
13 Lessons
11.
Operators are Methods
Operators are Methods
6 Lessons
6 Lessons
12.
Blocks
Blocks
11 Lessons
11 Lessons
13.
Conditionals
Conditionals
6 Lessons
6 Lessons
14.
Coding Challenge: Truthiness and Equivalence
Coding Challenge: Truthiness and Equivalence
2 Lessons
2 Lessons
15.
Writing Classes
Writing Classes
14 Lessons
14 Lessons
16.
Spotlight on Things Unremarked
Spotlight on Things Unremarked
11 Lessons
11 Lessons
17.
Advanced Topics
Advanced Topics
8 Lessons
8 Lessons
18.
Your Toolkit
Your Toolkit
4 Lessons
4 Lessons
Show License and Attributions
Trusted by 3.1 million developers working at companies
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
Software Developer
Carlos Matias La Borde
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Built for 10x Developers












Free Resources