Again, Welcome to Ruby!!! Like you, I too am a Ruby N. so I hope my
First, I agree. Write some code to get a feel of the language. As they
programming is not a spectator sport. Start something small, anything
interests you. Browse Ruby Q. for some interesting problems and try
work them (Honestly, I need to do that :D)
Having said that, I think you already have a good start by looking at
of the existing code bases. I think you need to find a balance between
reading and writing. Reading will help you pick up a nuance (or a trick)
the language that most books will not cover, writing will help you
Another approach is pick up a book like Practical Ruby Projects [
http://tinyurl.com/3zrqbr], or something like Project Euler [
http://projecteuler.net/]. I personally find it hard to make up problems
unless they have a personal motive, so such books and sites help.
one is 99 Lisp problems (Just google it).
One way to try and understand Ruby well is to write unit tests. Take a
class, say String, and write unit tests for all of its methods! Its
painstaking, but its a lot of fun, and you will get to know Ruby
Sorry if I confused you even more than you were, but I do a bit of all
the above. Its just what I am in the mood for. Spend an hour reading
code coz I cant seem to figure out what its doing, then write some Ruby
for a module. Getting bored, jump on to a problem I am trying to solve
Eulers, then realize I dont understand how a particular method in
Enumberable works, so write some unit tests.
Hope this helps.