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.
seriously?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Does "A-z" shortcut "A-Za-z"?
It appears that the tests need to be reworked, as I stumbled on the following solution which should not pass:
Time for me to go practice with inject!
When in doubt, there's already a method for it. Nice solve.
After solving this kata myself I went back and tried several other's solutions to try to dissect them. Each of them returned "uninitialized constant Student (NameError)" which is the same error that had been foiling some of my more direct/obvious attempts.
Wondering what the deal is with this error. I recieved it while trying some text-book solutions and some of the already passed solutions from other users. Is this a codewars bug or am I missing something?
Ah, thanks -- I was testing it in repl.it, evidentally that runs 1.8.7 right now. Beautiful solution!
I thought I understood what this was doing but when I run this in IRB it's returning ASCII key codes instead of letters:
What's the deal with that?
This comment is hidden because it contains spoiler information about the solution
"I have developed an elegant solution to this problem."
1 minute later. . .
"Oh, there was already a method for that."
This comment is hidden because it contains spoiler information about the solution
Loading more items...