• Keine Ergebnisse gefunden

Ruby Grundlagen

N/A
N/A
Protected

Academic year: 2022

Aktie "Ruby Grundlagen"

Copied!
3
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

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

(2)

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

(3)

Termine am Standort Bernburg

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

Marcel Romanek Trainingscenterleiter Telefon: 0345 56418-20

E-Mail: marcel.romanek@futuretrainings.com

Kalistraße 11a 06406 Bernburg

Weitere Infos unter

Telefon: 0345 5641 820 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)

Referenzen

ÄHNLICHE DOKUMENTE

Listing available classes and modules Arguments and locks in call signatures Class method documentation. Where Ruby docs come from: rdoc Exceptions: Handling

Listing available classes and modules Arguments and locks in call signatures Class method documentation. Where Ruby docs come from: rdoc Exceptions: Handling

Listing available classes and modules Arguments and locks in call signatures Class method documentation. Where Ruby docs come from: rdoc Exceptions: Handling

Listing available classes and modules Arguments and locks in call signatures Class method documentation. Where Ruby docs come from: rdoc Exceptions: Handling

Listing available classes and modules Arguments and locks in call signatures Class method documentation. Where Ruby docs come from: rdoc Exceptions: Handling

Listing available classes and modules Arguments and locks in call signatures Class method documentation. Where Ruby docs come from: rdoc Exceptions: Handling

Listing available classes and modules Arguments and locks in call signatures Class method documentation. Where Ruby docs come from: rdoc Exceptions: Handling

Listing available classes and modules Arguments and locks in call signatures Class method documentation. Where Ruby docs come from: rdoc Exceptions: Handling