Course code: RUBYPROG1« Back

Programming with Ruby

Are you interrested in popular Ruby language? This course will show you how to use it everyday. Working with strings, objects and regular expressions is easy with Ruby. You will learn how to use Ruby for writing system scripts, editing files or create a simple TCP server and a client application. Moreover, Ruby will teach you how to think „objective“.

This course has been removed from our portfolio
This section contains overview of retired courses which don’t belong to GOPAS course offer any more or were replaced by new course versions.
For more information about possibility to buy retired courses contact our customer services department (__Klientskyservis@gopas.cz) or business department (__Obchod@gopas.cz).

AffiliateDurationCatalogue priceHandbook priceITB
Praha3 10 200 CZK included in course price 30
Brno3 9 600 CZK included in course price 30
Bratislava3 345,00 EUR included in course price 30

User intensity level

Who is the course for

The course is intended for everyone who wants to learn modern, elegant and objective language. Course participants will learn about the basic properties of the language and its use in writing scripts on almost any platform.

What we teach you

Course participants will learn about the fundamentals of Ruby: its syntax, handling of files and TCP connections, how to use regular expressions, capture exceptions, installing third-party libraries, write threaded TCP server and a client application and object-oriented techniques. The contents of the course can be customized.

Required skills

Basic programming skills.

Teaching methods

Expert instruction with practical examples, computer practice. Step by step teaching.

Teaching materials

PowerPoint handouts, example scripts.

Course Outline

Introduction
  • basics of Ruby syntax
  • Ruby in comparison with other languages (PHP, C, Python, Java, atd.)
  • why to use just Ruby?
Language basics
  • code structure, comments, variables
  • data types
  • operators and expressions
  • strings and regular expressions
  • arrays and hashes
Scripts
  • creating and executing a script
  • interactive Ruby shell
  • arguments from the commandline
  • redirection
  • using scripts in UNIX and Windows
Managing programme flow
  • branching commands
  • commands for cycles
  • blocks and lambdas
Working with files
  • IO class
  • standard input and output
  • opening, reading and writing to files
  • editing files using regular expressions
Exceptions handling
  • what are exceptions?
  • raising and catching exceptions
Sockes and threads
  • creating simple TCP server and a client application
Using third­-party libraries
  • standard Ruby libraries
  • RubyGems
Tištěné prezentace probírané látky

Price:
included in course price
The prices are without VAT.