Ruby: Getting Started

This course will teach you the basics of Ruby with a pragmatic example. From basic types to control flow, you'll learn enough Ruby to write short programs.
Course info
Rating
(55)
Level
Beginner
Updated
Nov 9, 2020
Duration
1h 39m
Table of contents
Course Overview
Writing Your First Ruby Program
Reading Input Data
Having Fun with Strings
Defining Functions
Juggling Collections
Understanding Iteration
Writing Conditionals
Dealing with Errors
Wrapping up the Program
Description
Course info
Rating
(55)
Level
Beginner
Updated
Nov 9, 2020
Duration
1h 39m
Your 10-day individual free trial includes:

Expert-led courses

Keep up with the pace of change with thousands of expert-led, in-depth courses.
Description

Ruby is a language that prides itself on doing things its own way. In this course, Ruby: Getting Started, you’ll learn the basics of the Ruby programming language. First, you'll write Ruby code that solves a concrete programming problem. Next, you’ll see how even simple constructs like conditionals and loops have their own original spin in Ruby. Then, you’ll get to use the most common Ruby data types, including arrays and hashes. Finally, you’ll learn how to deal with programming errors and exceptions. When you're finished with this course, you’ll know how to write a simple Ruby program, and you’ll be on solid ground to delve into more specific aspects of this brilliant language.

About the author
About the author

Paolo Perrotta is a traveling coach and a software mentor. He wrote "Metaprogramming Ruby", widely praised as one of the essential books on Ruby.

More from the author
Ruby: The Big Picture
Beginner
1h 15m
Oct 5, 2021
Git: The Big Picture
Beginner
1h 6m
Sep 1, 2021
How Git Works
Beginner
1h 56m
May 28, 2021
More courses by Paolo Perrotta
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello from Paolo Perrotta. Welcome to Ruby: Getting Started. So, you're intrigued by Ruby. I can't blame you. It's a great language. If you're looking to learn Ruby and you're starting from scratch, then you're in the right place. This training is short, but it gives you the foundational knowledge that you need to write Ruby programs, how to input data, how to deal with basic and not so basic Ruby types, how to write functions, control program flow, manage errors, those essential programming skills, and a few less essential extras as well. We won't learn through slides, we'll learn by writing code and executing code. We're going to write a program that does a simple text analysis on the works of William Shakespeare, and that toy program will teach you a few things that you need for real life programming. So after this training, you'll know enough Ruby to write short programs like this one, and you'll be up for more advanced Ruby trainings, or to go on learning Ruby on your own. These are going to be the basics, so you don't need to know anything about Ruby to watch this training. I do expect that you have experience writing code, though, in any other language. You should be familiar with the fundamentals of programming, what's a variable, an array, a function, and so on, we'll use that knowledge. If you're confident about that stuff, then jump in. Let's go learn some Ruby!