Ruby Programming
 
 

Ruby Programming

Course Code: RUBYP

Duration: 3 days

S9

Ruby Programming Course Overview

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 and maintain Ruby applications.

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?

Developers who are required to write, maintain and test Ruby applications. This is an ideal course for anyone who wants to be able to make sense of code, if not actually to produce it.

Course Objectives

This course aims to provide the delegate with the knowledge to be able to produce simple, object oriented Ruby applications that exploit all core elements of the language to solve business problems.

Requirements

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

Follow-On Courses

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.


 

Course Contents

Ruby Programming Training Course

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

Ruby Programming Training Course

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

Ruby Programming Training Course

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
 

Ruby Programming

Duration: 3 days

RRP: £1,495.00 exc. VAT 


Upcoming Scheduled Events
Next 6 months

London
Start Date   Spaces Book
17 Jun 2019
StayAhead Virtual Courses available 
Spaces StayAhead - Course Running Book
 
19 Aug 2019   Spaces StayAhead - Course Running Book
 
Virtual Events StayAhead Virtual Courses available You can attend your training virtually using the London dates shown above. Those events highlighted with StayAhead Virtual Courses available already have virtual delegates booked. Please contact us for more details on our Virtual training options or to discuss specific Virtual course dates to meet your requirements.
 

Course Reviews

Excellent course, thoroughly provided an understanding of basics needed for Ruby programming. Very well taught in a relaxed and friendly atmosphere.

Darren - Test Analyst - Transport


Fantastic course, absolute pleasure working with the trainer. Great well rounded insight into Ruby basics and its practical applications.

Alex - Online Operations Tech - Leisure


The course was brilliant! Thanks to the StayAhead team for putting this together.

Norman - DRM - Leisure


More Course Reviews....

Great course Tony was very knowledgeable it was excellent having an experienced tutor. Thanks

Alvin - Linux Specialist - Academic


 
 
 
Quick Search....
        Home             Let Us Call You
 

 

Course Deliveries

Public Scheduled and Closed
Virtual
UK and Overseas

OUG

Oracle User Group - Membership Benefits

OUG

Certification

Our independent Oracle, Solaris & Red Hat Linux curriculums helps prepare delegates for official certification.

StayAhead
Flexibility

Cannot see a sutiable date?
Please call us and we will try an accommodateyour needs!




Our Course Curriculum

 
 
 
 
 



Our Ratings

Instructor
Quality
 

97.47%

Course
Practical
 

92.59%

Overall
Courseware
 

94.25%

Overall
Course
 

96.42%

+44 (0)20 7600 6116
sales@stayahead.com
Copyright © 2019 StayAhead Training Ltd
Cookies   /   Privacy Policy