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.
So I think it's something with CodeWars because I 'reset' the Kata and all my code was still there. Then when I attempted it, not even the TDD would show in the left-hand console. I said screw it and submitted my code and I passed.
I'm not sure why it's not working... I tried both example strings in my VSCode and they are returning correctly. As for my 'puts' statement, I had this:
def to_camel_case(str)
pp str
end
Usually in other Kata it will print it...I'm not sure what I'm doing wrong. Does it have something to do with the TDD? I'm just surprised that when I put in my current solution with a return statement, nothing gets returned, not even an error saying it was wrong. Just the TDD shows. Apologies if I am missing something.
There are no sample tests in Ruby
Sample tests for Ruby version of this kata are not provided :( Unfortunately, there are no example tests and you'd have to add them by yourself., for example like this:
However full test suite seems to run correctly, and I get values printed with this code:
So if you get nothing printed on full attempt, you probably are doing something wrong.
For some reason none of my code is running...at all. Using Ruby and it won't even print any of my puts statements. Is this part of the challenge or something going on with this Kata/CodeWars site?