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.
I think your string is not getting autoconverted so it can't be used as index.
I wrote a test (actually copied the one in the example) and was failing. I used https://repl.it/languages/Ruby to test my code and was working so I did not understand why. Finally saw this comment and submitted the code and it passed. Weird.
This comment is hidden because it contains spoiler information about the solution