Free Course Image Ruby Tutorial

Free online courseRuby Tutorial

Duration of the online course: 4 hours and 14 minutes

New course

Learn Ruby programming with Giraffe Academy's free online course. From installation to advanced topics like classes, loops, and error handling, build your skills step-by-step.

In this free course, learn about

  • Getting Started with Ruby
  • Ruby Basics and Syntax
  • User Input and Basic Projects
  • Collections: Arrays and Hashes
  • Methods and Control Flow Fundamentals
  • Loops, Games, and Algorithms
  • Comments and File I/O
  • Errors and Object-Oriented Programming
  • Modules and Interactive Ruby

Course Description

The "Ruby Tutorial" is a comprehensive and structured course designed to guide you through the intricacies of Ruby programming. With a duration of 4 hours and 14 minutes, this course is perfectly suited for individuals who are eager to dive into Ruby, one of the most dynamic and versatile programming languages available today.

This course falls under the category of Information Technology and is specifically tailored to the Programming Languages subcategory, which includes Python, Ruby, Java, and C. It is an ideal choice for both beginners and those looking to enhance their existing programming skills.

The journey begins with a clear and concise introduction to Ruby, laying a solid foundation for learners. The course then guides you through the installation process on both Windows and Mac platforms, ensuring that you're well-prepared to start coding.

From the moment you write your first "Hello, World!" program, you'll be hooked. The course gradually builds your understanding by engaging you in practical exercises such as drawing shapes and working with variables and data types.

You'll learn how to manipulate strings, perform mathematical operations, and gather user input to create interactive programs. The course also teaches you to build a basic calculator and a fun Mad Libs game, reinforcing your newly-acquired skills through practical application.

Advancing further, you'll explore the versatility of arrays and hashes, essential data structures for efficient programming. Understanding methods and the return statement will enable you to create reusable code and enhance the functionality of your programs.

Conditional statements, case expressions, and loops will become second nature as you progress through the course. You'll get hands-on experience by building a more complex calculator and an engaging guessing game, which will showcase your ability to implement control flow in your programs.

In addition to these fundamentals, the course covers more advanced topics such as reading from and writing to files, handling errors gracefully, and the essential concepts of classes, object methods, and inheritance. You'll also learn to implement modules, which are integral for organizing your codebase efficiently.

Interactive Ruby (IRB) is also introduced, providing a powerful tool for testing and debugging your Ruby code in real-time. By the end of the course, you'll have built a quiz program, showcasing your ability to combine all the techniques you've learned into a cohesive and functional project.

While there are no reviews yet, the structured and engaging nature of this Ruby tutorial ensures that it will be a valuable resource for anyone looking to master Ruby programming. Embark on this journey, and unlock the full potential of Ruby programming in the realm of Information Technology.

Course content

  • Video class: Introduction | Ruby | Tutorial 1 01m
  • Exercise: Which of the following topics is not covered in the introductory Ruby course described in the text?
  • Video class: Windows Installation | Ruby | Tutorial 2 03m
  • Exercise: What is the correct first step to install Ruby on a Windows computer using the method described?
  • Video class: Mac Installation | Ruby | Tutorial 3 02m
  • Exercise: What command can you enter in the terminal to check the installed version of Ruby on OS X?
  • Video class: Hello World / Setup | Ruby | Tutorial 4 05m
  • Exercise: What extension should be used when creating a Ruby file?
  • Video class: Drawing a Shape | Ruby | Tutorial 5 06m
  • Exercise: What is the difference between the 'print' and 'puts' commands in Ruby?
  • Video class: Variables | Ruby | Tutorial 6 10m
  • Exercise: What is the main purpose of using variables in a Ruby program?
  • Video class: Data Types | Ruby | Tutorial 7 05m
  • Exercise: In Ruby, which of the following data types can be used to represent a true or false value?
  • Video class: Working With Strings | Ruby | Tutorial 8 11m
  • Exercise: What method can be used in Ruby to remove leading and trailing spaces from a string?
  • Video class: Math 09m
  • Exercise: In Ruby, what will be the result of the operation 15 / 4, and why?
  • Video class: Getting User Input | Ruby | Tutorial 10 08m
  • Exercise: What issue can occur when using gets method in Ruby when entering user data?
  • Video class: Building a Calculator | Ruby | Tutorial 11 07m
  • Exercise: In Ruby, what method is used to convert a string input from the user into an integer for arithmetic operations?
  • Video class: Building a Mad Libs Game | Ruby | Tutorial 12 04m
  • Exercise: What is the main purpose of getting user input in the Mad Libs game creation described?
  • Video class: Arrays | Ruby | Tutorial 13 09m
  • Exercise: What is the primary advantage of using arrays in Ruby as opposed to simple variables?
  • Video class: Hashes | Ruby | Tutorial 14 06m
  • Exercise: What is a key advantage of using hashes over arrays in Ruby programming?
  • Video class: Methods | Ruby | Tutorial 15 08m
  • Exercise: What is a method in Ruby?
  • Video class: Return Statement | Ruby | Tutorial 16 05m
  • Exercise: In Ruby, what happens when a return keyword is used inside a method?
  • Video class: If Statements | Ruby | Tutorial 17 12m
  • Exercise: In Ruby, what is the purpose of using an 'if statement'?
  • Video class: If Statements (con't) | Ruby | Tutorial 18 07m
  • Exercise: What is the purpose of using comparison operators in an if statement in Ruby?
  • Video class: Building a Better Calculator | Ruby | Tutorial 19 08m
  • Exercise: In a Ruby program to create a calculator that can add, subtract, multiply, and divide, what Ruby method is used to convert user input from the command line into a number with decimal precision?
  • Video class: Case Expressions | Ruby | Tutorial 20 09m
  • Exercise: What is the primary benefit of using a case expression over multiple if statements in Ruby?
  • Video class: While Loops | Ruby | Tutorial 21 06m
  • Exercise: What is a 'while loop' commonly used for in Ruby programming?
  • Video class: Building a Guessing Game | Ruby | Tutorial 22 13m
  • Exercise: In the guessing game built using Ruby, what method is used to remove the newline character from user input?
  • Video class: For Loops | Ruby | Tutorial 23 04m
  • Exercise: In Ruby, what does a 'for loop' allow you to do?
  • Video class: Exponent Method | Ruby | Tutorial 24 05m
  • Exercise: In Ruby, what is the purpose of an exponent method that uses a for loop?
  • Video class: Comments | Ruby | Tutorial 25 04m
  • Exercise: What symbol is used to start a comment in Ruby?
  • Video class: Reading Files | Ruby | Tutorial 26 08m
  • Exercise: What is the purpose of using 'file.close' in a Ruby program?
  • Video class: Writing Files | Ruby | Tutorial 27 08m
  • Video class: Handling Errors | Ruby | Tutorial 28 08m
  • Video class: Classes 10m
  • Video class: Initialize Method | Ruby | Tutorial 30 07m
  • Video class: Object Methods | Ruby | Tutorial 31 05m
  • Video class: Building a Quiz | Ruby | Tutorial 32 09m
  • Video class: Inheritance | Ruby | Tutorial 33 07m
  • Video class: Modules | Ruby | Tutorial 34 05m
  • Video class: Inteactive Ruby (irb) | Ruby | Tutorial 35 04m

This free course includes:

4 hours and 14 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 )

Download the App now to have access to + 3300 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 48 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

+ 9 million
students

Free and Valid
Certificate

60 thousand free
exercises

4.8/5 rating in
app stores

Free courses in
video and ebooks