Intro to Ruby Programming

(4 reviews)

Features

Premium video tutorials

Award-winning instructors

Personalized learning

Get certified

Learn at your own pace

Mobile (learn on-the-go)

Unlimited tests and quizzes

Regularly updated content


Overview

If you have ever wanted to learn Ruby online, this intro to Ruby programming course can help you get started building your own web apps. Ruby is known for being a fun and comparatively simple language to learn, ideal for beginners and aspiring web developers. Proficiency in Ruby and its accompanying framework, Ruby on Rails, is a marketable skill, with growing demand for Ruby and Rails developers in the job market.

Designed for beginners, this intro to Ruby course starts out helping you learn the basics of Ruby programming, including operators, variables and conditional statements. You will build on this foundation with intermediate and advanced concepts in Ruby, with practical, hands-on application and examples every step of the way. By the end of the course, you will apply your skills to build a math flashcard game that you can add to your portfolio, and gain the fundamental knowledge you need to start creating more projects with Ruby.

Highlights:

  • 41 practical tutorials.
  • Store data in variables and apply arithmetic, comparison and assignment operators.
  • Learn how to comment code and deal with errors.
  • Create and use arrays and multi-dimensional arrays.
  • Understand how and when to use loops, including while, until, for and each loops.
  • How to create, use and manipulate hashes.
  • Utilize classes, class getters and class setters.
  • Learn different modes for opening files and how to write and append data to a file.
  • Install and use a third party Gem in your program for extra functionality.
  • Put together everything you've learned by building a math flashcard app.

Want to continue improving your skills in Ruby? Check out the Ruby on Rails course.

Once enrolled, our friendly support team and tutors are here to help with any course related inquiries.

Intro to Ruby Programming
Focus video player for keyboard shortcuts
Auto
  • 720p
  • 540p
  • 360p
1.00x
  • 0.50x
  • 0.75x
  • 1.00x
  • 1.25x
  • 1.50x
  • 1.75x
  • 2.00x
cc

Summary

Skill level: Beginner
Certificate: Yes
Lessons: 41
Accredited by: CPD
Pre-requisites: None
Video duration: 2h 39m
Estimated study time: 21h for all materials

Accreditations and approvals

CPD - The CPD Certification Service.


Syllabus

1

Course Introduction

What to expect from this course.

Video time: 03m 39s

2

Install Sublime and Git Bash

How to install Sublime Text and Git Bash Terminal for your development environment.

Video time: 04m 27s

3

Install Ruby

Installing Ruby is easy with RubyInstaller.org

Video time: 03m 44s

4

Hello World and c9 Transition

In this lesson we'll create our first Ruby program!

Video time: 05m 38s

1

Comments and Errors

How to comment code and deal with errors.

Video time: 04m 07s

2

Arithmetic Operators

How to do basic math with Ruby.

Video time: 03m 22s

3

Floats and Integers

Understanding the difference between floats and integers and when to use each.

Video time: 03m 20s

4

Comparison Operators

How to compare two or more items with Ruby.

Video time: 03m 21s

5

Variables

Storing information in variables is easy!

Video time: 04m 04s

6

Assignment Operators

How to assign items to variables (and other things).

Video time: 03m 29s

7

Getting User Input with Gets

Allowing the user to interact with your program.

Video time: 03m 06s

8

Conditional Statements

How to use if/else/elsif statements in Ruby.

Video time: 04m 13s

9

Multiple Conditional Comparison Operators

Sometimes you need to compare more than two things, here's how.

Video time: 03m 54s

10

String Manipulation

Modifying a string is simple with these string manipulation tips.

Video time: 03m 46s

1

Arrays

What are arrays and how do we create and use them?

Video time: 03m 43s

2

Multi-Dimensional Arrays

An array of other arrays is multi-dimensional.

Video time: 03m 34s

3

While Loops

Using while loops in Ruby.

Video time: 03m 43s

4

Until Loops

Looping until a condition is met using until loops.

Video time: 04m 03s

5

For and Each Loops

Understanding for and each loops, and when to use them.

Video time: 03m 44s

6

FizzBuzz!

Fizzbuzz! is a popular interview question/quiz. Let's build it!

Video time: 04m 37s

7

Hashes

What is a hash, and how do you create and use it?

Video time: 03m 49s

8

Hash Manipulation

Adding and removing items from a hash.

Video time: 03m 29s

9

Methods

Understanding methods in Ruby.

Video time: 03m 15s

10

Methods Part 2

More on methods...

Video time: 05m 18s

11

Random Numbers

How to generate random numbers with Ruby.

Video time: 03m 49s

1

Classes

What is a class and how do we use them?

Video time: 04m 05s

2

Classes Part 2

More on classes and how to use them.

Video time: 03m 25s

3

Instance Variables

What is an instance variable and how is it different from a regular variable?

Video time: 03m 47s

4

Class Getters

What is a getter and how do we use it?

Video time: 03m 01s

5

Class Setters

How to create a class setter and why you should.

Video time: 03m 19s

6

Understanding Attr_accessor

Let Ruby create your getters and setters automatically with attr_accessor.

Video time: 03m 37s

7

Class Inheritance

Inheriting information from other classes.

Video time: 03m 56s

8

Opening a File

How to open another file in your Ruby file.

Video time: 04m 10s

9

Open a File into an Array

We'll learn to output the contents of a file into an array.

Video time: 03m 28s

10

Open File Modes

There are several "modes" for opening files. Learn them all here.

Video time: 03m 57s

11

Write to a File

We'll learn to write and append data to a file.

Video time: 03m 39s

12

Adding Third-party Functionality with Gems

How to install and use a third-party gem in your program.

Video time: 04m 22s

1

Building a Flashcard Game

Let's use what we've learned to build a math flashcard game!

Video time: 03m 51s

2

Flashcard Addition Method

How to handle the addition flashcards.

Video time: 04m 10s

3

Flashcard Subtraction, Multiplication, Division Methods

How to handle subtraction, multiplication and division flashcards.

Video time: 04m 13s

4

Creating a Menu

Allow the user to choose which type of flashcard game to play with a menu.

Video time: 05m 27s

Download syllabus