Book Now - 2 Delivery Methods Available:Scheduled Online Onsite
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
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 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.
We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.
Session 1: INTRODUCTION TO RUBY (4 topics)
- What is Ruby
- What is it used for
- Installing Ruby?
- Ruby Basics - objects, regular expressions, arrays, hashes, Object Orientation
Session 2: RUBY LANGUAGE ELEMENTS (7 topics)
- Variables and constants
- Integer, float and string formats
- Single and double quotes
- Here documents
Session 3: CONTROL STRUCTURES (6 topics)
- Blocks and if statement
- Boolean and range operators
- Conditionals - if, unless, case
- Loops - while, for in, until
- break, next, retry and redo
Session 4: CLASSES AND OBJECTS (7 topics)
- 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
Session 5: INPUT AND OUTPUT IN RUBY (3 topics)
- Opening and closing files
- Reading from and writing to files
Session 6: ARRAYS AND HASHES IN RUBY (7 topics)
- Arrays and hashes
- Building an array
- The %w shortcut
- Nesting arrays
- Hash keys
Session 7: OBJECT ORIENTATION (10 topics)
- Base classes and subclasses
- What's inherited
- Abstract classes
- Multiple Inheritances
- Class structure
Session 8: CLASSES AND OBJECT SCOPING (8 topics)
- Public, private and protected visibility
- Singletons and defs
- Inheritance mixins
- Destructors and garbage collection
- Namespaces and modules
- Freezing objects
Session 9: OBJECT ORIENTATION TECHNIQUES (5 topics)
- Clusters of classes
- Programming and method standards
- Formal Methods
- Unified Modelling Language (UML)
Session 10: STRINGS AND REGULAR EXPRESSIONS (6 topics)
- Meta Characters
- Anchors, literals, character groups and counts
- Matching in Ruby
- Modifiers i, o, x and m
- Pattern matching variables
Session 11: SPECIAL VARIABLES AND PSEUDO-VARIABLES (6 topics)
- ARGV and $0
- Special variables
- Environment variables
- Reserved words in Ruby
Session 12: EXCEPTIONS (4 topics)
- begin and end
- Raise and rescue
- Throw and catch
Familiarisation with programming concepts is useful. This knowledge can be obtained by attendance on the Introduction to Programming course.
Please select from the dates below to make an enquiry or booking.
Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.