Ruby Lessons

Getting Started with Ruby

Getting Started with Ruby

Set up your system to start coding in Ruby...

Introduction

Introduction

Get a handle on all you need to get started with Ruby.

Strings

Strings

Strings are sequences of characters that we put between double quotes...

Booleans

Booleans

It's high time we introduce another data type, namely, booleans.

Loops

Loops

Now that we've understood booleans, we can put them to real use with loops.

Control flow

Control flow

What if we want to execute a code block based on some condition

Arrays

Arrays

Arrays are special variables in that they hold multiple values of any data type in an ordered and indexed list.

Hashes

Hashes

Hashes are unordered lists of values, in which each value has a key that points to it.

Methods

Methods

So, what exactly are methods?

Classes

Classes

Classes are kind of like factories that create objects with states and behaviors.

Modules

Modules

Modules allow us to group methods but also classes and constants in a meaningful way

Rate This Course