Ruby Koans
Learn Ruby with the Edgecase Ruby Koans
ファイル一式を落としたら、問題としてユニットテストが用意されていて、それを通していくよう空欄に値を埋めていきながらRubyについて学ぶ問題集
例えばこういう感じ(
__
を埋める。この場合
true
を入れればテストが通る)
code:ruby
# We shall contemplate truth by testing reality, via asserts.
def test_assert_truth
assert __ # This should be true
end
#Ruby