Opleiding: Ruby Programming

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.

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.

Modules

Module 1 : Ruby Intro

  • What is Ruby?
  • Ruby Timeline
  • Object Orientation
  • Installation
  • Interactive Ruby
  • Ruby Execution
  • Loading Ruby Code
  • Naming Conventions
  • Executing External Programs
  • Ruby Blocks
  • Resources

Module 2 : Variables and Data Types

  • Numbers and Big Numbers
  • Strings and String Literals
  • String Interpolation
  • Arrays
  • Hash
  • Range
  • Struct
  • Types of Variables
  • Naming Conventions
  • Constants
  • Pre-defined Variables

Module 3 : Control Flow

  • Statements
  • Assignment operators
  • Conditionals
  • Multiple Selection
  • while and until Loop
  • for Loop
  • each Iteration
  • Arithmetic operators
  • Comparison operators
  • Ruby truth
  • Logical Operators

Module 4 : Methods and Parameters

  • 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

Module 5 : Classes and Objects

  • Classes and Objects in Ruby
  • Object Initialization
  • Attribute Accessors
  • Current Object
  • Class Variables and Methods
  • Method Visibility
  • Singleton Methods
  • Inheritance
  • Overriding
  • Method Lookup
  • Duck Typing

Module 6 : Exception Handling

  • 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

  • Modules
  • Module Importing
  • Files without Namespacing
  • Modules for Namespacing
  • Namespaces
  • Mixins
  • Mixin Example
  • Include versus Extend
  • Mixins and Inheritance Chain
  • Modules versus Classes
  • Comparable Module
  • Enumerable Module

Module 8 : Closures

  • 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

Module 9 : Meta Programming

  • What is Introspection?
  • Introspection Code
  • Classes are Open
  • Class Definition are Executable
  • Receivers
  • Classes are Objects
  • Dynamic Method Invocation
  • Method Missing
  • Invoking method_missing
  • define_method
  • Evaluating Code
  • Dynamic Typing

Module 10 : Ruby Gems

  • What are Gems?
  • Creating Gems
  • gemspec file
  • Installing and Using the Gem
  • Publish the Gem
  • Grabbing the Gem
  • Rake
  • Writing Tests
  • Documenting Code
  • Using Rdoc
  • Using Bundler

Module 11 : Ruby Standard Library

  • Standard Library Overview
  • Files
  • Accessing Files
  • File Open Modes
  • Reading and Writing
  • Directories
  • Date and Time
  • XML Access
  • DOM Parsing
  • SAX Parsing
  • MultiThreading
Meer...
€1.999
ex. BTW
Aangeboden door
SpiralTrain
Onderwerp
Ruby
Niveau
Duur
3 dagen
Looptijd
18 dagen
Taal
en
Type product
cursus
Lesvorm
Klassikaal
Aantal deelnemers
Max: 12
Tijdstip
Overdag
Tijden en locaties
Amsterdam
wo 29 jul. 2026
Eindhoven
wo 29 jul. 2026
Houten
wo 29 jul. 2026
Rotterdam
wo 29 jul. 2026
Utrecht
wo 29 jul. 2026
Zwolle
wo 29 jul. 2026
Amsterdam
wo 30 sep. 2026
Eindhoven
wo 30 sep. 2026
Houten
wo 30 sep. 2026
Rotterdam
wo 30 sep. 2026
Utrecht
wo 30 sep. 2026
Zwolle
wo 30 sep. 2026
Amsterdam
wo 25 nov. 2026
Eindhoven
wo 25 nov. 2026
Houten
wo 25 nov. 2026
Rotterdam
wo 25 nov. 2026
Utrecht
wo 25 nov. 2026
Zwolle
wo 25 nov. 2026
Amsterdam
wo 27 jan. 2027
Eindhoven
wo 27 jan. 2027
Houten
wo 27 jan. 2027
Rotterdam
wo 27 jan. 2027
Utrecht
wo 27 jan. 2027
Zwolle
wo 27 jan. 2027
Amsterdam
wo 31 mrt. 2027
Eindhoven
wo 31 mrt. 2027
Houten
wo 31 mrt. 2027
Rotterdam
wo 31 mrt. 2027
Utrecht
wo 31 mrt. 2027
Zwolle
wo 31 mrt. 2027
Amsterdam
wo 26 mei 2027
Eindhoven
wo 26 mei 2027
Houten
wo 26 mei 2027
Rotterdam
wo 26 mei 2027
Utrecht
wo 26 mei 2027
Zwolle
wo 26 mei 2027
Amsterdam
wo 28 jul. 2027
Eindhoven
wo 28 jul. 2027
Houten
wo 28 jul. 2027
Rotterdam
wo 28 jul. 2027
Utrecht
wo 28 jul. 2027
Zwolle
wo 28 jul. 2027
Amsterdam
wo 29 sep. 2027
Eindhoven
wo 29 sep. 2027
Houten
wo 29 sep. 2027
Rotterdam
wo 29 sep. 2027
Utrecht
wo 29 sep. 2027
Zwolle
wo 29 sep. 2027
Amsterdam
wo 24 nov. 2027
Eindhoven
wo 24 nov. 2027
Houten
wo 24 nov. 2027
Rotterdam
wo 24 nov. 2027
Utrecht
wo 24 nov. 2027
Zwolle
wo 24 nov. 2027
Keurmerken aanbieder
NRTO
UWV scholingsvoucher