Home>Courses>Learn Ruby from Scratch

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.

Beginner

124 Lessons

12h

Certificate of Completion

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

Code Feedback

Explanations

AI-POWERED

Code Feedback

Explanations

This course includes

3 Projects
177 Playgrounds
31 Challenges
13 Quizzes
Course Overview
What You'll Learn
Course Content
Recommendations

Course Overview

Do you want to learn about interpreted languages? Tired of dense syntaxes? Tired of compiling code to machine language first? Are you looking for an easy-to-use scripting language? Well, Ruby is the answer! Ruby is a smart, easy-to-use, functional, object-oriented programming language, a wondrous mix of Perl's scripting power, Pythonic capabilities, and more! As Matsumoto, creator of Ruby, implies: "I hope to see Ruby help every programmer in the world to be productive, and to enjoy programming, and to be ...Show More
Do you want to learn about interpreted languages? Tired of dense syntaxes? Tired of compiling code to machine language first? Ar...Show More

TAKEAWAY SKILLS

Ruby

Programming Language

Learn to Code

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.
Learn how to program using Ruby as your first programming language.

Show more

Course Content

1.

The Big Picture

2 Lessons

Get familiar with Ruby's object-oriented paradigm and the creative aspect of programming.

2.

Variables

4 Lessons

Walk through Ruby variable assignment, reassignments, and operator precedence.

3.

Built-in Class: Numeric

5 Lessons

Go hands-on with numeric operations, including Integers, Floats, and practical exercises.

5.

Built-in Classes: TrueClass, FalseClass, and NilClass

1 Lessons

Take a look at Ruby's true, false, and nil objects representing truth values and absence.

6.

Built-in Class: Symbol

1 Lessons

Investigate the unique role of symbols as memory-efficient string alternatives in Ruby.

8.

Built-in Class: Hash

7 Lessons

Learn how to use hashes, their syntax, methods, and practical exercises in Ruby.

11.

Operators are Methods

6 Lessons

Break down complex ideas in Ruby operators and their behavior as methods.

14.

Conditionals

6 Lessons

Investigate Ruby conditionals, shorthand syntax, return values, truthiness, and practical exercises.

15.

Coding Challenge: Truthiness and Equivalence

2 Lessons

Test your understanding of truthiness and object equivalence through coding challenges.

20.

Advanced Topics

8 Lessons

Work your way through advanced Ruby topics including libraries, modules, private methods, and regex.

21.

Your Toolkit

4 Lessons

Grasp the fundamentals of essential tools like text editors, terminals, and IRB for Ruby programming.

22.

Appendix: Mailbox Project Prerequisite

1 Lessons

Solve problems in HTML for creating and displaying webpage structures in the browser.

Show License and Attributions

Trusted by 2.6 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

Free Resources