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.
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?
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?
Bugger. Don't you hate when you have just 'high fived' yourself for an awesomely concise method then, boom!!
This comment is hidden because it contains spoiler information about the solution