Learning Ruby Through Testing 1
Back in 2005, Mike Clark wrote a blog post about learning ruby through unit testing. Ever since then I have had this itch to formalize what he was trying to do. Well, Jim Weirich and I got together to work on a Ruby 101 for the last CodeMash conference and out of it came the Ruby Koans a self-paced introduction to Ruby.
It is hosted on Github a killer service for social code hosting. If you are not using git, do not fret. You can always click the download button and get the latest copy of the project. Creating an account is free, and would allow you to fork the project, solve all the koans, and see what others have done.
Enjoy, and we look forward to the feedback.




You’ll want to change the readme to say Ruby 1.8.7 or lower. Ruby 1.9.1RC2 definitely fails to run these (mainly because of the Test::Unit changes on the road to MiniUnit). Just something to note.