Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Occam's Razor. Nice.
Fixed
this only works in ruby version 2.1 as the to_h was only introduced then
I'm surprised I had to scroll through several pages of actual solutions to find this (expected) gem.
Instructions are unclear, the block does not accept 1 value as it appears to
This is a terrible kata. The question is ill defined (what does "somehow scratched out" mean?) and the tests aren't even testing anything important. This was brought up in the kata discussion, where the author (MysteriousMagenta) rudely dismissed the person commenting. My solution should obviously not pass, it obviously does not roll a die, and yet it passed nonetheless.
This comment is hidden because it contains spoiler information about the solution
test are bad, you can just pass the string in the description as a solution.