Ruby Programming

Course

Inhouse

Price on request

Description

  • Type

    Course

  • Methodology

    Inhouse

  • Start date

    Different dates available

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.

Facilities

Location

Start date

Inhouse

Start date

Different dates availableEnrolment now open

About this course

Programmers who have programmed languages such as, but not limited to, C, C++, Java, or Perl.

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

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

This centre's achievements

2018

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 6 years

Subjects

  • Access
  • Programming

Course programme


#text-block-8 { margin-bottom:0px; text-align:left; }


#text-block-11 { margin-bottom:0px; text-align:left; }

1. An Introduction to Ruby

What is Ruby? Installing Ruby

Executing Ruby Code Getting Help

Dynamic Types

Ruby Reserved Words Naming Conventions

2. Standard Ruby Data Types

Numbers Strings

Simple Input and Output Converting String Input Regular Expressions Time Methods

3. Language Components

The if Statement

The Logical Operators The case Construct Loops

Iterators

Numeric Iterators String Iterators Methods

Odds and Ends

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

#text-block-12 { margin-bottom:0px; text-align:left; }

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

6. Input and Output

Introduction

Reading from the Standard Input Writing to the Standard Output

Reflection grep

Classes are Objects Aliasing Testing

Test::Unit::TestCase Testing Your Own Classes Freezing Objects Object Equality

Reading and Writing Disk Files Reading Files Using Iterators

I/O With Command Line Commands Seeking About Files tell

Capturing Data About Files Processing Directories

7. Exceptions

Introduction

Exception Hierarchy Handling Exceptions

Multiple Rescue Clauses Exceptions are Classes ensure retry raise

Creating Your Own Exceptions catch and throw

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

9. Odds and Ends

Ruby Conventions Bit Manipulation Substituting Marshalling

Ruby Programming

Price on request