Want to learn Ruby in a whole new way? How about learning to test while you're at it? Ruby Koans is the answer you have been seeking.
A few days ago I was rummaging through my RSS feeds and I came across an article that was discussing the Zen path to Ruby enlightenment. What the author was referring to was a new approach to learning Ruby called Ruby Koans.
The idea is to teach the pupil Ruby by walking them through a series of tests (literally, they are test files) and having them meditate on the answer for each test case. If you have provided the correct answer the tests pass, if not then you must "meditate" longer on the solution until the correct answer is provided.
The following comes directly from the Ruby Koans website:
The Koans walk you along the path to enlightenment in order to learn Ruby. The goal is to learn the Ruby language, syntax, structure, and some common functions and libraries. We also teach you culture. Testing is not just something we pay lip service to, but something we live. It is essential in your quest to learn and do great things in the language.
Whether you are new to Ruby or you have been working with it since the beginning, I highly recommend taking a look at Ruby Koans.
Something missing? Need more explanation? Let me know in the