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.
+1
I'm a newbie in Ruby and managed to answer this coding problem using a different solution. I just want to understand how the above answer is possible if anyone can explain please?
somehow my brain misses chars and map :p
The de-facto community style guide for Ruby suggests using parens if the method accepts paramters and leaving off the parens if the method takes no parameters.
Question: Is is idiomatic in ruby to leave off the parens around the method params?
Me Too
363ms
Bugger. Don't you hate when you have just 'high fived' yourself for an awesomely concise method then, boom!!
Needs more test cases and random test cases.
for ruby in test method has bad name