Merged src directory with existing koans.

This commit is contained in:
Jim Weirich
2009-12-21 16:17:32 -05:00
parent c651dd5eba
commit f05d9ee1ac
21 changed files with 82 additions and 69 deletions

View File

@@ -25,7 +25,7 @@ class AboutMessagePassing < EdgeCase::Koan
assert mc.send("caught?")
assert mc.send("caught" + __ ) # What do you need to add to the first string?
assert mc.send("CAUGHT?".__ ) # What would you need to do to the string?
assert mc.send("CAUGHT?".____ ) # What would you need to do to the string?
end
def test_send_with_underscores_will_also_send_messages
@@ -96,7 +96,7 @@ class AboutMessagePassing < EdgeCase::Koan
class AllMessageCatcher
def method_missing(method_name, *args, &block)
"Someone called #{method_name} with (#{args.join(", ")})"
"Someone called #{method_name} with <#{args.join(", ")}>"
end
end