Prince:Starting with Ruby
From OpenWetWare
A suggested path for learning ruby:
- Very basic interactive tutorial (just to get a basic feel for ruby)
- Learn to program in ruby (for first-time programmers)
- ruby-lang.org Documentation page
- Dive in to one of the Safari Online books for a more in-depth understanding of the language. Beginning Ruby and The Well Grounded Rubyist are both great.
Start writing some code:
- Ruby Programming Challenge for Newbies (RPCFN) do a couple challenges.
Regex Learning Tool
- Interactive Regex development tool Makes writing your regular expressions super easy. Comes complete with handy tips.
Safari Online Subscription
BYU has a subscription to Safari Online, meaning we have full access to many books online. Here are the most relevant ones to learning Ruby (in approximate order):
- Beginning Ruby: From Novice to Professional (2nd ed.) by Peter Cooper, a great English rubyist.
- The Well Grounded Rubyist
- The Ruby Programming Language (1st ed.) an expanded version of Ruby in a nutshell co-authored by Matz himself.
- Ruby Best Practices (1st ed.) by Greg Brown of Ruport fame. This is more for when you already know the language and want to learn more about advanced topics like testing, functional programming, and dynamic programming.
Other Resources
- Coming to Ruby from another language is good if you are already familiar with programming and want to get a basic handle on how Ruby compares to your (previous) language of choice
- coming from Perl? PLEAC is a translation of the famous Perl Cookbook into Ruby
- Why's Poignant Guide to Ruby (ch 1) (TOC) is for when you have some spare time and are in the right kind of mood. An amazing and psychotic book that can be surprisingly helpful in really understanding ruby.