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.
Sorry sir for the late reply. I've updated the kata description. Thank you guys for all the feedbacks.
Sorry sir for the late reply. I've updated the kata description. Thank you guys for all the feedbacks.
Thanks. This is a good one.
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.
This is awesome. A good use of regex & enumerable module. Newbies (like me) are usually being intimidated by regex. Thank you sir!
I think referring to Codewars Test Docs will help.
Finally done it.
Why dont Codewars use the MiniTest library? IMHO, it's better for beginner to start with basic testing.
Is there any bug in the kata? It says NoMethodError for using Array#any?
Maybe I'll try again later.
Good for beginners (like me) to learn this.
Thank you a lot mlabrum. It's my first kata. I've updated both the description and failure messages.
LOL
I'm so sad. Can't break it yet
I've been trying for quite a while. Still learning about functional programming.
Loading more items...