PROGRAMMIERUNG
Ruby Grundlagen
Weiterbildung
Kursnummer: LS20.184 4-Wochen-Kurs
Ruby ist objektorientiert, unterstützt aber mehrere weitere Programmierparadigmen wie funktionale Programmierung sowie Nebenläufigkeit und bietet dynamische Typisierung, Reflexion und automatische Speicherbereinigung.
Inhalt
More with Less: Code the Way You Want Get Ruby
Use Ruby
Math operations and comparisons Variables
Method arguments
The opposite of “if” is “unless”
Loops
Methods and Classes: Getting Organized Defining methods
Parameters Return values Designing a class
Attribute writers and readers Errors—the “emergency stop” button Inheritance: Relying on Your Parents
Defining a subclass
Adding methods to subclasses Overriding methods
The “super” keyword The Object class
Overriding the inherited method Initializing Instances: Off to a Great Start
An Employee class Division with Ruby’s
Formatting numbers for printing
Call other methods on the same instance with “self”
Inheritance and “initialize”
Arrays and Blocks: Better Than Loops Accessing arrays
Blocks
Blocks and variable scope
Block Return Values: How Should I Handle This?
Opening the file
Safely closing the file, with a block Blocks have a return value
Making one array based on another, using “map”
Hashes: Labeling Data
Hashes
Normalizing hash keys
Using hashes as method parameters References: Crossed Signals
The heap Aliasing
Hash default blocks Mixins: Mix It Up
Using modules as mixins Mixins and method overriding
Comparable and Enumerable: Ready-Made Mixes the Comparable mixin
Constants
The Comparable mixin The Enumerable module Documentation: Read the Manual
Ruby’s core classes and modules Documentation
Listing available classes and modules Arguments and locks in call signatures Class method documentation
Where Ruby docs come from: rdoc Exceptions: Handling the Unexpected
Using “raise” to report errors
Exceptions: When something’s gone wrong Ruby’s search for a rescue clause
Exception classes
Unit Testing: Code Quality Assurance
Automated tests find your bugs before someone else does
Zielgruppe
Web-Developer
Voraussetzungen
Englisch in Wort und Schrift
Kosten
Kompletter Kurs förderfähig
z.B. mit Bildungsgutschein, über Berufsförderungsdienst (BFD) oder bei Kurzarbeit
Termine am Standort Chemnitz
Mo, 07.03.2022 Mo, 04.04.2022 Mo, 02.05.2022 Di, 07.06.2022 Mo, 04.07.2022 Mo, 01.08.2022 Mo, 05.09.2022 Di, 04.10.2022 Mo, 07.11.2022 Mo, 05.12.2022
Live-Online-Schulungen
Unsere Weiterbildungen und Schulungen finden auch online im virtuellen Klassenzimmer statt.
Ihr Ansprechpartner
Klaus-Peter Krause Trainingscenterleiter Telefon: 0371 56044 801
E-Mail: klaus-peter.krause@futuretrainings.com
Annaberger Straße 73 09111 Chemnitz
Im Wirkbau Haus E, Eingang B, 4 Etage
Weitere Infos unter
Telefon: 0371 56044 801 www.futuretrainings.com
Unsere Standorte
Halle (Saale), Berlin, Berlin-Neukölln, Chemnitz, Hannover, Köln, Leipzig, Reutlingen, Stuttgart, Ulm, Erfurt, Jena, Marburg, Nordhausen, Brand-Erbisdorf, Bernburg, Bitterfeld-Wolfen, Dessau-Roßlau, Lutherstadt Eisleben, Hettstedt, Köthen, Magdeburg, Merseburg, Naumburg, Quedlinburg, Sangerhausen, Weißenfels, Zerbst, Zeitz, Rostock, Aue, Annaberg-Buchholz,
Dippoldiswalde, Freital, Heidenau, Bayreuth
Powered by TCPDF (www.tcpdf.org)