Learning Ruby

Copyright (c) 2003 Daniel Carrera
Free Documentation License
Where to get help
How to install Ruby
Download this tutorial
  1. The Basics

    About this chapter

    1. First Steps
    2. Strings
    3. New names for old things
    4. Variables
    5. Your first program
    6. Writing good programs
  2. Flow Control

    About this chapter

    1. Loops
    2. Getting user input
    3. Conditionals
    4. While loops
    5. Writing good programs
  3. Data structures

    About this chapter

    1. Arrays
    2. What can arrays do?
    3. Iterators
    4. Hashes
    5. Example: Addressbook
    6. Printing the addressbook
    7. Sorting the addressbook
    8. Writing good programs
  4. Defining your own classes and methods

    About this chapter

    1. Functions
    2. Classes and methods
    3. More on classes
    4. Implementing AddressBook
    5. Writing iterators
    6. More features
    7. Writing good programs
  5. Graphical User Interfaces (GUI) with Tk

    About this chapter

    1. Why Tk?