Ruby - Basics of Programming (RUBY1)
Programming, Programming - other
This course introduces the scripting language Ruby to complete beginners and to developers from other languages. You will install a local development environment, run the classic Hello World, and practice basic syntax and debugging.
The lessons mix concise theory and hands-on tasks: learn to work with variables, files and objects, use external gems, and call web APIs. By the end you'll be ready to script solutions or move on to Ruby on Rails.
Location, current course term
Contact us
The course:
Hide detail
-
Installing the environment
-
Working with numbers
-
Calculator
-
Operators and precedence
-
Summary of part 1
-
a = (x = nil or 3)
-
Scopes and visibility
-
Global scope and variables
-
Environment-defined global variables
-
Local scope and variables
-
Functions / methods
-
Calling functions and methods with _? and _!
-
Defining your own function
-
Advanced string handling
-
How to find available methods?
-
Operators on strings
-
Even strings are not always simple
-
Basic constructs
-
Conditionals
-
Loops
-
Variables 2
-
Arrays
-
Ranges
-
Symbols
-
Hashes
-
Random numbers
-
Classes and objects
-
Defining methods and "method_missing"
-
Inheritance
-
Overloading / overriding
-
Summary
-
Practical example: How to bulk rename files
-
Exceptions
-
Catching exceptions
-
Raising exceptions
-
Custom exceptions
-
Calling services via API
-
Practical example: Fetching data from ARES using company ID
-
Assumed knowledge:
-
Knowledge of any programming language helps but is not required.
-
Schedule:
-
2 days (9:00 AM - 5:00 PM )
-
Language:
-
Vybrané zákaznické reference
Československá obchodní banka, a. s., Vladimír O.
Ruby - Basics of Programming (
RUBY1)
"Živé, užitečné, školitel znalý a položené dotazy zodpovídal obratem i se vzorovými příklady"
Československá obchodní banka, a. s., Vlastimil A.
Ruby - Basics of Programming (
RUBY1)
"+ Skolitel ma siroky zaber i mimo ruby, spoustu praktickych zkusenosti, priklady jsou nad realnymi problemy a nikoli nad syntetickymi ulohami."
Československá obchodní banka, a. s., Martin Š.
Ruby - Basics of Programming (
RUBY1)
"Mě se školení líbilo. Dozvěděl jsem se co jsem potřeboval. Tempo mi vyhovovalo."