The Ruby Koans are a great way to learn about the Ruby language. This Ruby Koans Online is an abridged version of the Koans in the convenience of a browser.
However, if this is your first time through the Koans, we recommend you read the introduction below to find out how the Koans work.
The koans are broken out into areas covering such topics as hashes, modules and classes. Each of these are presented on their own page.
Each koan builds up your knowledge of Ruby and builds upon itself.
Each page consists of a number of tests that you have to complete and any information you might require to help you make those test pass. You can run the tests by clicking the Meditate button at any time or by pressing the Enter key when filling in any of the tests.
In test-driven development (TDD) the mantra has always been
With the Ruby Koans Online,
For example, type true in the input box below and then click the Meditate button or hit Enter to turn the box green.
If the results were not what you expected, the Koans will guide you back to the enlightened path with a hint.
Type false in the box below to see the hint displayed.
If you encounter any other issues whilst using the Ruby Koans Online, please contact us using the Contact button at the top right of the window.
Thanks, the Ruby Koans Online Team