Ruby Programming Training in Lawrence

Enroll in or hire us to teach our Ruby Programming class in Lawrence, Massachusetts by calling us @303.377.6176. Like all HSG classes, Ruby Programming may be offered either onsite or via instructor led virtual training. Consider looking at our public training schedule to see if it is scheduled: Public Training Classes
Provided there are enough attendees, Ruby Programming may be taught at one of our local training facilities.
We offer private customized training for groups of 3 or more attendees.

Course Description

 
This 3 day course covers 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.
Course Length: 3 Days
Course Tuition: $1090 (US)

Prerequisites

Students should have at least six months of programming experience in at least one programming language.

Course Outline

 

An Introduction to Ruby

What is Ruby?

Installing Ruby

Executing Ruby Code

Getting Help

Dynamic Types

Ruby Reserved Words

Naming Conventions

 

Standard Ruby Data Types

Numbers

Strings

Simple Input and Output

Converting String Input

Regular Expressions

Time Methods

 

Language Components

The if Statement

The case Construct

Loops

Iterators

Numeric Iterators

String Iterators

Methods

Odds and Ends

 

Collections

Arrays

Array Operator Methods

Array Equality Operator

Arrays as Stacks and Queues

Higher Dimensional Arrays

Other Useful Arrays Methods

Command Line Arguments

Hashes

Common Hash Methods

Sorting Hashes

Iterators with Arrays and Hashes

Arrays and Methods

Hashes and Methods

Named Parameters

Symbols

Procs

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 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

tell

Capturing Data About Files

Proces

Using Directories

 

Exceptions

Introduction

Exception Hierarchy

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

Bit Manipulation

Substituting

Marshalling

Reflection

grep

Classes are Objects

Aliasing

Testing

Test::Unit::TestCase

Testing Your Own Classes

Freezing Objects

Object Equality

Ruby Programming Uses & Stats

Ruby Programming is Used For:
Desktop GUI's Web Applications Web Development
Difficulty
Popularity
Year Created
1995
Pros
Easy to Learn:
Along with Python, Ruby is regarded as one of the easier languages to learn
 
Growing Community: 
Ruby has a vast collection of open source code available within the Rails community.
 
Readable Code:
Ruby is mostly self-documenting which increases productivity because there is less need to write out separate documentation. As a result it makes it easier on developers to pick up existing projects. 
 
Good for Rapid Application Development (RAD):
Rails framework makes it easy to accommodate changes. 
Cons
Performance and Scalability:
There have been concerns that Rails applications are not as fast as Java or C, which is true, but for the majority of applications it is fast enough.
 
Not All Website Hosts Can Support Rails:
Alternatively, Rails application can be hosted on a Virtual Private Server (VPS) with Amazon EC2, Rackspace, or Linode. 
 
Documentation: 
It can be a bit challenging to find documentation for popular gems and libraries that heavily involve using mixins. 
Ruby Programming Job Market
Average Salary
$102,000
Job Count
15,287
Top Job Locations

New York City
Seattle
San Francisco

Complimentary Skills to have along with Ruby Programming

If you are just learning to write code, Ruby is one of the best languages to start with. Ruby is a dynamic, object oriented , general purpose programming language. 

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.