Public Wiki
All documents found here are licensed under the Free Documentation License
A guide to learning ruby¶
The Basics
Flow Control
- Loops
- Getting user input
- Conditionals
- While loops
- Writing good programs
Data structures
- Arrays
- What can arrays do?
- Iterators
- Hashes
- Example: Addressbook
- Printing the addressbook
- Sorting the addressbook
- Writing good programs
Defining your own classes and methods
- Functions
- Classes and methods
- More on classes
- Implementing AddressBook
- Writing iterators
- More features
- Writing good programs
Tips
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
- rubybrain.com: super slick ajax-powered ruby library reference. There is also a downloadable version.
- Ruby Quick Reference
- Learn to Program (Chris Pine)
- free documentation at ruby-lang.org
- The Ruby Cookbook (cc)
- Ruby on Wikibooks.org
- Mr. Neighborly’s Humble Little Ruby Book
- Beginning Ruby from Novice to Professional: The best PDF book I’ve read on Ruby
Recent Pages Create Page »
| Title | Updated | |||
|---|---|---|---|---|
| New Names For Old Things | 2024-03-09 | |||
| PROGRAMMATION? Kannst du nen furby so programmieren das der Lernt von Hund Befehle anzunehmen und diese an nen reinigungsroboter weiterzuleiten? | 2023-11-26 | |||
| First Steps | tmoscato | 2012-03-02 | ||
| Loops | Morg | 2009-11-18 | ||
| Make learn ruby an open group | azul | 2009-08-08 | ||
| Iterators | clembot | 2009-02-19 | ||
| Variables | clembot | 2009-02-18 | ||
| While loops | fgsfds | 2008-12-16 | ||
| Strings | azul | 2008-05-29 | ||
| .irbrc | elijah | 2008-04-01 | ||
| Classes And Methods | Maira Sutton | 2008-02-12 | ||
| Functions | elijah | 2008-02-07 | ||
| Arrays | Brandon | 2008-02-05 | ||
| Conditionals | Maira Sutton | 2008-02-05 | ||
| Hashes | beckybee | 2008-02-05 | ||
| What Can Arrays Do | Maira Sutton | 2008-01-31 | ||