Introduction to Ruby Programming

Course ID

33100

Course Description

Introduction to Ruby Programing is a three day, lab intensive course that explores the fundamental components of the Ruby Programming Language. Emphasis is placed on the object oriented aspects of Ruby. Topics include arrays, hashes, regular expressions, io,exceptions, modules, and applications areas such as CGI, client/server, and network programming.

This course can be customized to target your teams specific goals and areas of interest.


Prerequisites

Students should have taken the Software Development for Non-Programmers course or have at least six months of programming experience in at least one programming language.

Audience

This course is intended primarily for those who have programmed in other programming languages such as, but not limited to, C, C++, Java, or Perl.

Course Content

    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
    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
    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
    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
    Exceptions
  • Introduction
  • Exceptions
  • Handling Exceptions
  • Multiple Rescue Clauses
  • Exceptions Are Classes
  • ensure
  • retry
  • raise
  • Creating Your Own Exceptions
  • catch and throw
    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
    Odds and Ends
  • Ruby Conventions
  • Strings Are References
  • The Selection Operator, [ ]
  • Index Methods
  • Stripping Whitespace Characters
  • Bit Manipulation
  • The upto Method

For More Information

For training inquiries, call 850-308-1376

or email us at eramos@gbsi.com

Course Details

Duration - 3 days
Price - $2195.00 USD


(Discounts may apply. Call for more information.)

Course Actions

Acceletrain Collaborative Learning Environment (formerly know as VILT) places industry certified and expert instructors, peers, learners and multi-media components into a "borderless classroom", and interactive learning environment that can span multiple physical locations. VILT combines the benefits of the traditional brick-and-mortar classroom with innovative learning techniques and the cost savings of internet-based training.