Getting Started with Ruby

This course is included in our On-demand training solution.

Overview

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.

Target Audience

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

Prerequisites

None

Expected Duration

120 min.

Course Objectives

Course Introduction

Why Ruby?

  • outline the features of Ruby
  • Running Ruby Programs

  • become familiar with the Ruby IRB and run a Ruby program
  • IDE Options

  • work with Ruby editors
  • Data Types and Variables

  • become familiar with common data types in Ruby and how to work with variables in Ruby
  • Nil

  • work with the nil class in Ruby
  • Getting Data into and out of Programs

  • use I/O in Ruby programs
  • Defining a Class and Using the to_s Method

  • define a class and use the to_s method in Ruby
  • Creating an Instance

  • create a class instance in Ruby
  • Methods

  • work with methods in Ruby
  • Inheritance

  • implement inheritance in Ruby
  • If Statements

  • use if statements in Ruby
  • Case Expressions

  • use case expressions in Ruby
  • Iterators

  • use iterators in Ruby
  • While and Until Loops

  • work with while and until loops in Ruby
  • For Loop and Ranges

  • use for loops and ranges in Ruby
  • Operators

  • use logical, comparison and mathematical operators in Ruby statements
  • Strings

  • work with strings in Ruby
  • Symbols

  • work with symbols in Ruby
  • Numbers

  • work with numbers in Ruby
  • Booleans

  • work with booleans in Ruby
  • Date and Time

  • work with date and time values in Ruby
  • Constants

  • work with constants in Ruby
  • Parallel Assignment

  • use parallel assignment in Ruby
  • Handling Exceptions

  • work with exceptions in Ruby
  • Exercise: Use Basic Ruby Structures to Create a Program

    COURSE COST



     

    NEED HELP OR NOT SURE?