Getting Started with Ruby

Programmers who want to learn the fundamentals of the Ruby programming language


Expected Duration
124 minutes

Ruby is an open source, all-purpose programming language that has become increasingly popular with the advent of its associated web development framework, Ruby on Rails. In this course, you’ll learn the essentials of the Ruby language, including classes and methods, program flow and operators. You’ll also learn about working with data types and error handling.


Getting Started

  • start the course
  • outline the features of Ruby
  • become familiar with the Ruby IRB and run a Ruby program
  • work with Ruby editors
  • become familiar with common data types in Ruby and how to work with variables in Ruby
  • work with the nil class in Ruby
  • use I/O in Ruby programs

Classes and Methods

  • define a class and use the to_s method in Ruby
  • create a class instance in Ruby
  • work with methods in Ruby
  • implement inheritance in Ruby

Basic Program Flow and Operators

  • use if statements in Ruby
  • use case expressions in Ruby
  • use iterators in Ruby
  • work with while and until loops in Ruby
  • use for loops and ranges in Ruby
  • use logical, comparison and mathematical operators in Ruby statements

Data Types in Ruby

  • work with strings in Ruby
  • work with symbols in Ruby
  • work with numbers in Ruby
  • work with booleans in Ruby
  • work with date and time values in Ruby
  • work with constants in Ruby
  • use parallel assignment in Ruby

Error Handling

  • work with exceptions in Ruby

Practice: Create a Ruby Program

  • practice using basic Ruby structures to create a Ruby program





Multi-license discounts available for Annual and Monthly subscriptions.