Live Chat
Monday - Friday 8am - 6pm EST Chat Now
Contact Us
Monday - Friday 8am - 8pm EST 1-866-716-6688 Other Contact Options
Checkout

Cart () Loading...

    • Quantity:
    • Delivery:
    • Dates:
    • Location:

    $

Introduction to Ruby Programming (TTE6450)

Core Ruby Programming for Developers

GK# 3772

Course Overview

TOP

In this course, you will learn about the fundamental components of the Ruby programming language. Working in a lab intensive, hands-on programming environment, you will explore object-oriented aspects of Ruby and best practices for developing robust applications with Ruby. Topics include arrays, hashes, regular expressions, IO, exceptions, modules, and applications areas such as Common Gateway Interface (CGI), client/server, and network programming.

Outline

TOP
Viewing outline for:

Virtual Classroom Live Outline

1. An Overview of Ruby (Part 1)

  • What is Ruby?
  • Ruby References
  • Executing Ruby Code
  • Getting Input
  • Comments
  • Numbers
  • Strings
  • The Class Class
  • Decision Making
  • The case Construct
  • Loops
  • Iterators
  • Regular Expressions
  • Functions
  • Odds and Ends
  • Time Methods
  • Command Line Arguments

2. An Overview of Ruby (Part 2)

  • Arrays
  • Array Operator Methods
  • Array Equality Operator
  • Arrays as Stacks and Queues
  • Higher Dimensional Arrays
  • Other Useful Arrays Methods
  • Hashes
  • Common Hash Methods
  • Sorting Hashes
  • Iterators with Arrays and Hashes
  • Arrays and Functions
  • Hashes and Functions
  • Named Parameters
  • Symbols
  • Proc Objects
  • Closures

3. Classes

  • Objects
  • Brief History of OOP
  • OOP Vocabulary
  • Creating a New Class
  • Using Objects
  • Defining Operator Methods
  • Inheritance
  • Ancestors
  • Self
  • Access Levels-Public
  • Access Levels-Private
  • Access Levels-Protected
  • Access Levels-Specification
  • Class Data and Class Methods
  • Adding Methods to Classes and Objects
  • Special Global Variables
  • Scope of Variables
  • Built-in Classes
  • The Math Class
  • The Time Class
  • The NilClass Class
  • TrueClass and FalseClass
  • Built-in Class Hierarchy

4. Input and Output

  • Introduction
  • Reading from the Standard Input
  • Reading a Character at a Time
  • Writing to the Standard Output
  • Reading and Writing Disk Files
  • Reading Files Using Iterators
  • I/O with Command Line Commands
  • Seeking about Files
  • ftell
  • Capturing Data about Files
  • Processing Directories

5. Exceptions

  • Introduction
  • Exceptions
  • Handling Exceptions
  • Multiple Rescue Clauses
  • Exceptions Are Classes
  • Ensure
  • Retry
  • Raise
  • Creating Your Own Exceptions
  • Catch and throw

6. Modules

  • Introduction
  • Using Core Ruby Classes
  • Ruby Standard Library
  • Require
  • Search Path
  • File Organization
  • Load
  • Modules
  • Include
  • Mixins
  • Using the Comparable Module
  • Collection Classes
  • Yield
  • Using the Enumerable Module

7. Odds and Ends

  • Ruby Conventions
  • Strings Are References
  • The Selection Operator, [ ]
  • Index Methods
  • Stripping Whitespace Characters
  • Bit Manipulation
  • The upto Method

Labs

TOP
Viewing labs for:

Virtual Classroom Live Labs

Note: As a programming class, this course provides multiple challenging labs for you to work through during the class. This workshop is about 50 percent hands-on lab and 50 percent lecture. Throughout the course, you will be led through a series of progressively advanced topics, where each topic consists of lecture, group discussion, comprehensive hands-on lab exercises, and lab review. Multiple detailed lab exercises are laced throughout the course, designed to reinforce fundamental skills and concepts learned in the lessons. At the end of each lesson, developers will be tested with a set of review questions to ensure that he/she fully understands that topic.

Prerequisites

TOP

Who Should Attend

TOP

Individuals who have programmed in other programming languages such as, but not limited to, C, C++, Java, or Perl

Follow-On Courses

TOP
Course Delivery

This course is available in the following formats:

Virtual Classroom Live

Experience expert-led online training from the convenience of your home, office or anywhere with an internet connection.

Duration: 3 day

Request this course in a different delivery format.
Enroll