Free Course Image Ruby

Free online courseRuby

Duration of the online course: 7 hours and 26 minutes

4.2

StarStarStarStar

(5)

Build real Ruby skills fast with a free online course: write programs, handle arrays and hashes, use loops and functions, and start coding with confidence.

In this free course, learn about

  • Install Ruby, set up an editor/IDE (Komodo), and understand its tutorial-friendly benefits
  • Use arithmetic operators (+ - * / %) and understand modulo (remainder) behavior in Ruby
  • Write conditionals: if/elsif/else, case/when/then, ternary expressions, and conditional assignment (||=)
  • Format strings with capitalize/upcase/downcase/reverse/length and process user input via gets.chomp
  • Split strings into arrays with .split (default whitespace delimiter) and index array elements with []
  • Create and use arrays, multidimensional arrays, and target nested characters via chained indexing
  • Create hashes, use symbols and modern (Ruby 1.9+) hash syntax, and add/update/delete entries
  • Understand CRUD (Create, Read, Update, Delete) and implement delete like books.delete(title.to_sym)
  • Write functions (methods), including numeric-focused ones (e.g., Pythagorean hypotenuse calculation)
  • Use loops (while) and iteration (.each, each_with_index) with counters/indexes
  • Build small programs: find/replace, prime number finder, histogram counting, and sorting workflows
  • Use sorting tools: spaceship operator (<=>) and implement custom sort methods (e.g., sorted_list)
  • Use Ruby blocks with yield, and understand Procs vs Lambdas and why they’re used
  • Define classes (CamelCase), use globals, and implement classic exercises like FizzBuzz output rules

Course Description

Learning Ruby is a practical way to build solid programming foundations while still feeling productive from day one. In this free online Ruby course, you will move from setup to writing complete mini-programs that mirror how developers think and work: take input, transform data, make decisions, repeat tasks efficiently, and organize code so it stays readable as it grows.

You will start by preparing your environment and getting comfortable running Ruby code, then quickly use core operators and conditionals to drive real behavior. As you practice, you will see how small details such as formatting text, splitting strings, and understanding return values turn simple scripts into useful tools. Step by step, Ruby becomes less like syntax to memorize and more like a language you can use to solve problems with clarity.

A major focus is working with everyday data structures. You will build confidence with arrays and hashes, learn how indexing works, and discover why symbols are so common in Ruby projects. You will also apply iteration patterns such as each, each_with_index, and while loops to process data predictably and to automate repetitive work. Along the way, you will create programs that feel like real applications: calculators, find-and-replace utilities, prime number logic, and simple sorting behavior that demonstrates what Ruby is doing under the hood.

To help you think like a developer, the course also introduces reusable code through functions and shows how Ruby supports more advanced patterns with blocks, yield, procs, and lambdas. Finally, you will take your first steps into object-oriented programming by defining classes, using variables with different scopes, and understanding how structure helps you model real-world concepts. By the end, you will be able to read and write Ruby code with confidence, and you will have a strong base for moving into web development, automation scripts, or plugin workflows that use Ruby.

Course content

  • Video class: Ruby Programming - 1 - Install Ruby and Editor 13m
  • Exercise: _According to Jake, why does he recommend starting with Ruby programming as the first language to learn?
  • Video class: Ruby Programming - 1.1 - Komodo IDE 04m
  • Exercise: What is a benefit of using the Komodo IDE in Wild Academy tutorials?
  • Video class: Ruby Programming - 2 - Arithmetic Operators Tutorial 08m
  • Exercise: _What does the modulo operator return in Ruby?
  • Video class: Ruby Programming - 3 - if - else - elsif 12m
  • Exercise: What happens if a user inputs an age of 21 on the website from the video transcript?
  • Video class: Ruby Programming - 4 - Formatting: capitalize, upcase, downcase, reverse, length 10m
  • Exercise: _What does the code "puts my_name.downcase" do in the Ruby program?
  • Video class: Ruby Programming - 5 - .split and arrays 10m
  • Exercise: What happens after using the dot split method in Ruby without specifying a delimiter?
  • Video class: Ruby Programming - 6 - How to Write Arrays in Ruby 13m
  • Exercise: _What is the output of the following code when targeting the third element in the `soda_types` array using square brackets?
  • Video class: Ruby Programming - 7 - Write a Hash 08m
  • Exercise: What is the output when 'puts hash_bracket_topping2' is executed in Ruby?
  • Video class: Ruby Programming - 8 - gets.chomp Method 10m
  • Exercise: _What method can be used to capitalize the first letter of a user's input in Ruby?
  • Video class: Ruby Programming - 9 - More on Hashes 15m
  • Exercise: What is the purpose of creating a hash in the Ruby program mentioned in the video transcript?
  • Video class: Ruby Programming - 10 - Functions 06m
  • Exercise: _What is the output of the following code?
  • Video class: Ruby Programming - 11 - counter - index - .each do 15m
  • Exercise: In Ruby, what does the method `each_with_index` do?
  • Video class: Ruby Programming - 12 - Functions with Numbers 09m
  • Exercise: _What does the modulo operator do in Ruby?
  • Video class: Ruby Programming - 13 - Pythagorean Theorem Calculator 16m
  • Exercise: What is used to find the hypotenuse of a right triangle?
  • Video class: Ruby Programming - 14 - All about Loops 17m
  • Exercise: _What is the purpose of the while loop created in the tutorial?
  • Video class: Ruby Programming - 15 - Find and Replace Program 11m
  • Exercise: What is the primary function of the program discussed?
  • Video class: Ruby Programming - 16 - Multidimensional Arrays 12m
  • Exercise: _What is the correct syntax for targeting the first letter within the third item of the string array?
  • Video class: Ruby Programming - 17 - Find Prime Numbers 12m
  • Exercise: What programming task is being explained?
  • Video class: Ruby Programming - 18 - Histogram and Sorting 12m
  • Exercise: _What is the purpose of the Ruby program that Jake is creating in this tutorial?
  • Video class: Ruby Programming - 19 - Combined Comparison Operator (Spaceship Operator) 15m
  • Exercise: What is the role of the spaceship operator in Ruby sorting?
  • Video class: Ruby Programming - 20 - How to Write a Sort Method 10m
  • Exercise: _What is the purpose of the method "sorted_list" that Jake is creating in day 20 of learning to program in Ruby?
  • Video class: Ruby Programming - 21 - Hashes and Symbols 08m
  • Exercise: What is the difference in Ruby hash syntax for versions above 1.9?
  • Video class: Ruby Programming - 22 - Add an Item to a Hash 16m
  • Exercise: _What is the purpose of the case statement in the program?
  • Video class: Ruby Programming - 23 - CRUD Create Read Update Delete 24m
  • Exercise: What does CRUD stand for in programming?
  • Video class: Ruby Programming - 24 - CRUD Part 2 of 2 12m
  • Exercise: _What is the purpose of the code "books.delete(title.to_sym)" in the Ruby program?
  • Video class: Ruby Programming - 25 - Ternary Conditional Expression 11m
  • Exercise: How can you write a ternary conditional expression in Ruby?
  • Video class: Ruby Programming - 26 - When and Then 06m
  • Exercise: _What is the age range of the highest percentage of viewers of the "Learning to Program in Ruby" show according to Jake's stats?
  • Video class: Ruby Programming - 27 - Conditional Assignment Operator 07m
  • Exercise: What does the conditional assignment operator do in Ruby?
  • Video class: Ruby Programming - 28 - Ruby for SketchUp 10m
  • Exercise: _What is the extension warehouse in Sketchup?
  • Video class: Ruby Programming - 29 - First SketchUp Plugin 25m
  • Exercise: What function does the Ruby plugin serve in SketchUp?
  • Video class: Ruby Programming - 30 - Shovel Operator 10m
  • Exercise: _What is the concatenation operator or shovel operator in Ruby?
  • Video class: Ruby Programming - 31 - Yield 12m
  • Exercise: What concept in Ruby does the 'yield' keyword demonstrate in the provided tutorial?
  • Video class: Ruby Programming - 32 - Ruby Procs Explained 10m
  • Exercise: _What is the purpose of using procs in Ruby?
  • Video class: Ruby Programming - 33 - Ruby Lambdas Explained 10m
  • Video class: Ruby Programming - 34 - Ruby Classes 10m
  • Exercise: In Ruby, how do you define a class using camel case?
  • Video class: Ruby Programming - 35 - Ruby Global Variables 10m
  • Exercise: What is a key feature of a Warrior in the class-based example described?
  • Video class: Ruby Programming - 36 - FizzBuzz Game 12m
  • Exercise: _What is the output of the Ruby program created for the FizzBuzz game?

This free course includes:

7 hours and 26 minutes of online video course

Digital certificate of course completion (Free)

Exercises to train your knowledge

100% free, from content to certificate

Ready to get started?Download the app and get started today.

Install the app now

to access the course
Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

From zero to professional success

Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.

You can also use the QR Code or the links below.

QR Code - Download Cursa - Online Courses

More free courses at Programming Languages ( Python, Ruby, Java, C )

Free Ebook + Audiobooks! Learn by listening or reading!

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate