empower your people,
empower your organization
Call:  08000 199337 From overseas call +44 20 7264 2185
face-to-face training
Training Since 2002
Online Learning
Certified Trainers with 20+ Year's Experience
Virtual classroom training
Above Industry Average Pass Rates
7-key IT disciplines
No Fee Course Resits

Enjoy live training & exams NOW from your own home Learn more Now offering Remotely Proctored ExamsLearn More

Ruby Programming

About the Course

Course Duration: 3 days

Price From: £1445

Private Course: Click Here
Ruby is a high level Interpreted, Object Oriented, rapid development language deployed in many scenarios in the modern world.

This Ruby Programming course is designed to give delegates the knowledge to develop / maintain Ruby scripts.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

The delegate will learn and acquire skills as follows:
• Declare variables and initialise them
• Construct expressions with arithmetic, logical and relational operators
• Use iterative type statements
• Use conditional statements
• Read/write files
• Manipulate text using regular expression
• Use and create Ruby Objects
• Use built-in library functions

Who will the course benefit?

Programmers who need to write or maintain scripts in Ruby and projects based on Ruby.

Entry Requirements

Familiarisation with programming concepts is useful. This knowledge can be obtained by attendance on the Introduction to Programming course.

Follow-On Courses

• Ruby on Rails
• Apache Web Server
• Introduction to MySQL
• Perl Programming
• PHP Programming
• PHP & MySQL for Web Development

Notes

• Course technical content is subject to change without notice.
• Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Exam

There is no exam requirement for this course.

Course Objectives

Knowledge of Ruby to write, modify, maintain and understand Ruby scripts.

Syllabus – Key points

Course Contents – DAY 1

Course Introduction
• Administration and Course Materials
• Course Structure and Agenda
• Delegate and Trainer Introductions

Session 1: INTRODUCTION TO RUBY
• What is Ruby
• What is it used for
• Installing Ruby?
• Ruby Basics – objects, regular expressions, arrays, hashes, Object Orientation

Session 2: RUBY LANGUAGE ELEMENTS
• Variables and constants
• Operators
• Assignments
• Integer, float and string formats
• Single and double quotes
• Here documents
• Labs

Session 3: CONTROL STRUCTURES
• Blocks and if statement
• Boolean and range operators
• Conditionals – if, unless, case
• Loops – while, for in, until
• break, next, retry and redo
• Labs

Session 4: CLASSES AND OBJECTS
• Objects, classes and methods
• Constructors and attributes
• Instance and class variables
• Local and global variables
• Class and object methods
• Including external files – load and require
• Labs

Course Contents – DAY 2

Session 5: INPUT AND OUTPUT IN RUBY
• Opening and closing files
• Reading from and writing to files
• Labs

Session 6: ARRAYS AND HASHES IN RUBY
• Arrays and hashes
• Building an array
• The %w shortcut
• Nesting arrays
• Hash keys
• Iterators
• Labs

Session 7: OBJECT ORIENTATION
• Inheritance
• Base classes and subclasses
• What’s inherited
• Overriding
• Abstract classes
• Polymorphism
• Multiple Inheritances
• Class structure
• Visibility
• Labs

Session 8: CLASSES AND OBJECT SCOPING
• Public, private and protected visibility
• Singletons and defs
• Inheritance mixins
• Destructors and garbage collection
• Namespaces and modules
• Hooks
• Freezing objects
• Labs

Course Contents – DAY 3

Session 9: OBJECT ORIENTATION TECHNIQUES
• Clusters of classes
• Programming and method standards
• Formal Methods
• Unified Modelling Language (UML)
• Views

Session 10: STRINGS AND REGULAR EXPRESSIONS
• Meta Characters
• Anchors, literals, character groups and counts
• Matching in Ruby
• Modifiers i, o, x and m
• Pattern matching variables
• Labs

Session 11: SPECIAL VARIABLES AND PSEUDO-VARIABLES
• ARGV and $0
• Special variables
• Environment variables
• Pseudo-variables
• Reserved words in Ruby
• Labs

Session 12: EXCEPTIONS
• begin and end
• Raise and rescue
• Throw and catch
• labs

Reviews

There are no reviews yet.

Be the first to review “Ruby Programming”

Your email address will not be published. Required fields are marked *

View dates and book

Select the Ruby Programming Classroom & Virtual Course

Now offering VIRTUAL courses. Enjoy live training NOW from your home Learn more
Start DateExam IncludedPrice
(Excl VAT)
Qty 
Start Date: Dec 13, 2021Exam Included: Course + No ExamPrice (Excl VAT):

£1,445.00

Quantity:
Start Date: Feb 28, 2022Exam Included: Course + No ExamPrice (Excl VAT):

£1,495.00

Quantity:
Start Date: May 23, 2022Exam Included: Course + No ExamPrice (Excl VAT):

£1,445.00

Quantity:
Start Date: Aug 15, 2022Exam Included: Course + No ExamPrice (Excl VAT):

£1,445.00

Quantity:
Clear

Types of Exams

Pearson Vue Voucher Exams

Online Exam

Classroom Exam

OUR CUSTOMERS INCLUDE

OUR LOCATIONS

We operate from ten training centres across the country, giving you more choice for where to attend

  • Birmingham
  • Bristol
  • London
  • Milton Keynes
  • Reading
  • Borehamwood
  • Leeds
  • Manchester
  • Nottingham
  • Southampton