Course Ruby Programming

  • Content
  • Training
  • Modules
  • General
  • Reviews
  • Certificate
  • Course Ruby Programming : Content

    In the course Ruby Programming participants learn to program in Ruby using the syntax and language constructs of that language.

    Ruby Syntax

    After an introduction about the background of Ruby, the installation and the way in which code can run, the variables, data types and control flow are discussed.

    Classes en Objects

    Attention is also paid to methods and parameter passing in Ruby and to object oriented aspects such as classes, objects, inheritance and polymorphism.

    Exception Handling

    The handling of errors through exception handling is discussed as well.

    Modules and Mixins

    The course continues with a discussion of partitioning code into modules, modules as namespaces and mixins as the use of modules from the standard library.

    Blocks and Procs

    Also closures such as blocks, lambdas and Procs are discussed and Ruby meta programming is treated with introspection, Open Classes and dynamic method invocation.

    Ruby Gems

    Finally writing RubyGems is on the course schedule and an overview of the capabilities of the Standard Library is given.

  • Course Ruby Programming : Training

    Audience Course Ruby Programming

    The course Ruby Programming is intended for experienced developers who want to learn the Ruby scripting language.

    Prerequisites Course Ruby Programming

    Knowledge and experience with programming in another programming language, such as C, C++, C#, Visual Basic, Java or Perl is required.

    Realization Training Ruby Programming

    The theory is discussed on the basis of presentation slides and is interspersed with practical exercises. Illustrative demos provide further clarification of the concepts. The course material is in English.

    Certification Ruby Programming

    Participants receive an official certificate Ruby Programming after successful completion of the course.

    Course Ruby Programming
  • Course Ruby Programming : Modules

    Module 1 : Ruby Intro

    Module 2 : Variables and Data Types

    Module 3 : Control Flow

    What is Ruby?
    Ruby Timeline
    Object Orientation
    Interactive Ruby
    Ruby Execution
    Loading Ruby Code
    Naming Conventions
    Executing External Programs
    Ruby Blocks
    Numbers and Big Numbers
    Strings and String Literals
    String Interpolation
    Types of Variables
    Naming Conventions
    Pre-defined Variables
    Assignment operators
    Multiple Selection
    while and until Loop
    for Loop
    each Iteration
    Arithmetic operators
    Comparison operators
    Ruby truth
    Logical Operators

    Module 4 : Methods and Parameters

    Module 5 : Classes and Objects

    Module 6 : Exception Handling

    Method Definitions
    Invoking Methods
    Methods and Parenthesis
    Return values
    Default value argument
    Variable Argument List
    Array Argument
    Hash Argument
    Methods with Code Block
    Method with Bang
    Aliasing Methods
    Classes and Objects in Ruby
    Object Initialization
    Attribute Accessors
    Current Object
    Class Variables and Methods
    Method Visibility
    Singleton Methods
    Method Lookup
    Duck Typing
    Error Handling
    Exception Handling
    Raising Exceptions
    Handling Exceptions
    Exception Class Hierarchy
    Typed Exception Handling
    Ensure Block
    Retry Command
    Throw and Catch
    Raising Exceptions
    User Defined Exceptions

    Module 7 : Modules

    Module 8 : Closures

    Module 9 : Meta Programming

    Module Importing
    Files without Namespacing
    Modules for Namespacing
    Mixin Example
    Include versus Extend
    Mixins and Inheritance Chain
    Modules versus Classes
    Comparable Module
    Enumerable Module
    Benefits of Closures
    Lambdas and Procs
    Lambdas with Parameters
    Procs versus Lambdas
    Proc as Argument and Return
    Proc Objects as Closure
    What are Blocks?
    Representing Blocks
    Calling Blocks with Yield
    Passing Arguments
    Ampersand Operator
    From Proc to Block
    What is Introspection?
    Introspection Code
    Classes are Open
    Class Definition are Executable
    Classes are Objects
    Dynamic Method Invocation
    Method Missing
    Invoking method_missing
    Evaluating Code
    Dynamic Typing

    Module 10 : Ruby Gems

    Module 11 : Ruby Standard Library

    What are Gems?
    Creating Gems
    gemspec file
    Installing and Using the Gem
    Publish the Gem
    Grabbing the Gem
    Writing Tests
    Documenting Code
    Using Rdoc
    Using Bundler
    Standard Library Overview
    Accessing Files
    File Open Modes
    Reading and Writing
    Date and Time
    XML Access
    DOM Parsing
    SAX Parsing
  • Course Ruby Programming : General

    Course Forms

    All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.


    We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.

    Course times

    The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.


    We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.


    Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.


    The course includes lunch that we use in a restaurant within walking distance of the course room.


    The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.


    At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.


    The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.

  • Course Ruby Programming : Reviews

  • Course Ruby Programming : Certificate