From 03caa9b3493ff5f0cf3688efe4f4136d06e4eb24 Mon Sep 17 00:00:00 2001 From: Erkan Yilmaz Date: Thu, 8 Mar 2012 13:57:01 +0100 Subject: [PATCH 1/2] add missing: ) --- README.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rdoc b/README.rdoc index f8208bc..75e53a7 100644 --- a/README.rdoc +++ b/README.rdoc @@ -71,7 +71,7 @@ Windows is the same thing In test-driven development the mantra has always been, red, green, refactor. Write a failing test and run it (red), make the test pass (green), then refactor it (that is -look at the code and see if you can make it any better. In this case you will need +look at the code and see if you can make it any better). In this case you will need to run the koan and see it fail (red), make the test pass (green), then take a moment and reflect upon the test to see what it is teaching you and improve the code to better communicate its intent (refactor). From f3d20b8e14f50a5103d322a08ff7f1648a36b17c Mon Sep 17 00:00:00 2001 From: Erkan Yilmaz Date: Thu, 8 Mar 2012 14:03:45 +0100 Subject: [PATCH 2/2] seems screen output of the 1st example changed --- README.rdoc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.rdoc b/README.rdoc index 75e53a7..121228b 100644 --- a/README.rdoc +++ b/README.rdoc @@ -80,26 +80,31 @@ The very first time you run it you will see the following output: [ ruby_koans ] $ rake (in /Users/person/dev/ruby_koans) - cd koans + /usr/bin/ruby1.8 path_to_enlightenment.rb - Thinking AboutAsserts - test_assert_truth has damaged your karma. + AboutAsserts#test_assert_truth has damaged your karma. - You have not yet reached enlightenment ... + The Master says: + You have not yet reached enlightenment. + + The answers you seek... is not true. Please meditate on the following code: ./about_asserts.rb:10:in `test_assert_truth' - path_to_enlightenment.rb:27 + path_to_enlightenment.rb:38:in `each_with_index' + path_to_enlightenment.rb:38 mountains are merely mountains + your path thus far [X_________________________________________________] 0/280 You have come to your first stage. If you notice it is telling you where to look for the first solution: Please meditate on the following code: ./about_asserts.rb:10:in `test_assert_truth' - path_to_enlightenment.rb:27 + path_to_enlightenment.rb:38:in `each_with_index' + path_to_enlightenment.rb:38 We then open up the about_asserts.rb file and look at the first test: