-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Laboratorio di Architetture Software e Sicurezza Informatica [AAF1569] | ||
============= | ||
|
||
This repository hosts class material for the 2022-2023 edition of the course. | ||
|
||
Instructors: [Leonardo Querzoni](https://sites.google.com/diag.uniroma1.it/querzoni/) and [Daniele Cono D'Elia](https://www.diag.uniroma1.it/~delia/) (Sapienza University of Rome) | ||
|
||
Teaching assistants: Giacomo Priamo and Nicola Bottura | ||
|
||
### Contents | ||
*Listed as: class date, enclosing folder, topic* | ||
- 28/02/2023 `ruby-intro/` Ruby essentials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Ruby Examples | ||
============= | ||
|
||
This directory contains exemplary Ruby toy programs to get acquainted with basic features of the language. | ||
|
||
Outline of the `class_example_X.rb` files: | ||
1. Example of class usage (as in the slides for the lecture) | ||
2. Verbose vs. concise declaration of getter/setter/initialization methods | ||
3. Subclasses and getter/setter methods | ||
4. Subclasses and polymorphism | ||
5. Side-effects from a method | ||
6. Variable-length argument list | ||
|
||
The material was prepared by Prof. Giovanni Farina for last year's edition of this course. Thanks, Giovanni! |