Learning Ruby
Copyright (c) 2003 Daniel Carrera
Free Documentation License
Where to get help
How to install Ruby
Download this tutorial
The Basics
About this chapter
- First Steps
- Strings
- New names for old things
- Variables
- Your first program
- Writing good programs
Flow Control
About this chapter
- Loops
- Getting user input
- Conditionals
- While loops
- Writing good programs
Data structures
About this chapter
- Arrays
- What can arrays do?
- Iterators
- Hashes
- Example: Addressbook
- Printing the addressbook
- Sorting the addressbook
- Writing good programs
Defining your own classes and methods
About this chapter
- Functions
- Classes and methods
- More on classes
- Implementing AddressBook
- Writing iterators
- More features
- Writing good programs
Graphical User Interfaces (GUI) with Tk
About this chapter
- Why Tk?