Intro to Ruby Programming

(9 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



Syllabus

1

Course Introduction

What to expect from this course.

2

Install Sublime and Git Bash

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

3

Install Ruby

Installing Ruby is easy with RubyInstaller.org

4

Try it!

Hello World and c9 Transition

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

1

Comments and Errors

How to comment code and deal with errors.

2

Try it!

Arithmetic Operators

How to do basic math with Ruby.

3

Floats and Integers

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

4

Comparison Operators

How to compare two or more items with Ruby.

5

Variables

Storing information in variables is easy!

6

Assignment Operators

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

7

Getting User Input with Gets

Allowing the user to interact with your program.

8

Conditional Statements

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

9

Multiple Conditional Comparison Operators

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

10

String Manipulation

Modifying a string is simple with these string manipulation tips.

1

Arrays

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

2

Multi-Dimensional Arrays

An array of other arrays is multi-dimensional.

3

While Loops

Using while loops in Ruby.

4

Until Loops

Looping until a condition is met using until loops.

5

For and Each Loops

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

6

Try it!

FizzBuzz!

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

7

Hashes

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

8

Hash Manipulation

Adding and removing items from a hash.

9

Methods

Understanding methods in Ruby.

10

Methods Part 2

More on methods...

11

Random Numbers

How to generate random numbers with Ruby.

1

Classes

What is a class and how do we use them?

2

Classes Part 2

More on classes and how to use them.

3

Instance Variables

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

4

Class Getters

What is a getter and how do we use it?

5

Class Setters

How to create a class setter and why you should.

6

Understanding Attr_accessor

Let Ruby create your getters and setters automatically with attr_accessor.

7

Class Inheritance

Inheriting information from other classes.

8

Opening a File

How to open another file in your Ruby file.

9

Open a File into an Array

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

10

Open File Modes

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

11

Write to a File

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

12

Adding Third-party Functionality with Gems

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

1

Building a Flashcard Game

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

2

Flashcard Addition Method

How to handle the addition flashcards.

3

Flashcard Subtraction, Multiplication, Division Methods

How to handle subtraction, multiplication and division flashcards.

4

Creating a Menu

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

Download syllabus