-
Learning by doing
-
Trainers with practical experience
-
Classroom training
-
Detailed course material
-
Clear content description
-
Tailormade content possible
-
Training that proceeds
-
Small groups
In the course Ruby Programming participants learn to program in Ruby using the syntax and language constructs of that language.
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.
Attention is also paid to methods and parameter passing in Ruby and to object oriented aspects such as classes, objects, inheritance and polymorphism.
The handling of errors through exception handling is discussed as well.
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.
Also closures such as blocks, lambdas and Procs are discussed and Ruby meta programming is treated with introspection, Open Classes and dynamic method invocation.
Finally writing RubyGems is on the course schedule and an overview of the capabilities of the Standard Library is given.
The course Ruby Programming is intended for experienced developers who want to learn the Ruby scripting language.
Knowledge and experience with programming in another programming language, such as C, C++, C#, Visual Basic, Java or Perl is required.
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.
Participants receive an official certificate Ruby Programming after successful completion of the course.
Module 1 : Ruby Intro |
Module 2 : Variables and Data Types |
Module 3 : Control Flow |
What is Ruby? Ruby Timeline Object Orientation Installation Interactive Ruby Ruby Execution Loading Ruby Code Naming Conventions Executing External Programs Ruby Blocks Resources |
Numbers and Big Numbers Strings and String Literals String Interpolation Arrays Hash Range Struct Types of Variables Naming Conventions Constants Pre-defined Variables |
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 |
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 Inheritance Overriding 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 |
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 |
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 Receivers Classes are Objects Dynamic Method Invocation Method Missing Invoking method_missing define_method 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 Rake Writing Tests Documenting Code Using Rdoc Using Bundler |
Standard Library Overview Files Accessing Files File Open Modes Reading and Writing Directories Date and Time XML Access DOM Parsing SAX Parsing MultiThreading |
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.
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.