Ruby Programming
- Course Code RUBYP
- Duration 3 days
Course Delivery
Additional Payment Options
-
GTC 24 inc. VAT
GTC, Global Knowledge Training Credit, please contact Global Knowledge for more details
Jump to:
Course Delivery
This course is available in the following formats:
-
Company Event
Event at company
-
Public Classroom
Traditional Classroom Learning
-
Virtual Learning
Learning that is virtual
Request this course in a different delivery format.
Course Overview
TopRuby 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.
Virtual Learning
This interactive training can be taken from any location, your office or home and is delivered by a trainer. This training does not have any delegates in the class with the instructor, since all delegates are virtually connected. Virtual delegates do not travel to this course, Global Knowledge will send you all the information needed before the start of the course and you can test the logins.
Course Schedule
Top-
- Delivery Format: Virtual Learning
- Date: 15-17 July, 2024
- Location: Virtual
-
- Delivery Format: Virtual Learning
- Date: 14-16 October, 2024
- Location: Virtual
Target Audience
TopDevelopers 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
TopThis 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.
Course Content
TopCourse 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
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
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
Course Prerequisites
TopDelegates attending this course should be able to define general programming concepts including compilation and execution,variables,arrays,sequence,selection and iteration,navigate the filesystem (on the command line ideally),edit and save text files and browse the web. This knowledge can be obtained by attendance on the pre-requisite Introduction to Programming course.
Follow on Courses
Top- Ruby on Rails (RUBYR)
- Apache Web Server (APH)
- Introduction to MySQL (MYSI)
- Python Programming 1 (PYP1)
- Perl Programming (PERL)
- PHP Programming (PHP)
- STA_RUBYP
- Ruby Programming
- Applications Development & Programming
- STA_RUBYP | Ruby Programming | Training Course | Applications Development.
- Applications Development