Public Wiki

All documents found here are licensed under the Free Documentation License

A guide to learning ruby

The Basics

  1. First Steps
  2. Strings
  3. New names for old things
  4. Variables
  5. Conventions

Flow Control

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

Data structures

  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

Defining your own classes and methods

  1. Functions
  2. Classes and methods
  3. More on classes
  4. Implementing AddressBook
  5. Writing iterators
  6. More features
  7. Writing good programs

Tips

  1. irbrc

Resources

Original text found here from Learning Ruby by Daniel Carrera. See also pine.fm/LearnToProgram. There is a mess of notes at whynotwiki.com/Ruby

Recent Pages Create Page »