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.
same here
Same here, either some tests or an more ellaborate description of the Kata would be helpful.
I agree with you
it helps if you print the input inside your function.
puts text
the text = "'" is tricky.
This comment is hidden because it contains spoiler information about the solution
precisely the same error I am facing. Also the author has given only one example. Which makes it damn hard to "TEST". Its simply NOT very helpful and consumes a lot of time while sovling. In real world you will get plenty of helpful errors. Also it seems from now on, I ll need to scan the discussion section for existing issues with kata.
This comment is hidden because it contains spoiler information about the solution
I'm not sure why the intrepeter (Ruby 1.9.3 used @Codewars) sometimes behaves like that (it happens a few times). It thinks that the object is not instantiated/created (an array object in your example), thus send a NoMethodError exception.
In my case, I tweaked my code to create an Array object using different method.
Try develop your test first before submitting. And refer to test docs at Codewars for syntax.
NO FUN !! This kata is doesnt tell you exactly what cases need to be covered. I just dont think its well defined. It should give cases when it passes, when it fails ans what exceptions are suposed to be raised