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 am reading about regular expressions now, it starting to make sense. Thanks!
This is the syntax of regular expressions, you have to search about this topic if you don't know it.
This comment is hidden because it contains spoiler information about the solution
This will add a space before every capital letter regardless of whether it is part of a camelcased word...
The instructions tell you about the partition method.
This is obviously reading the instructions.
The example even used partition with a block...
Yeaaah! Nice, man. :)
Hey @gregziolo, sup? The documentation for the
max_by
method: http://ruby-doc.org/core-2.2.2/Enumerable.html#method-i-max_byThey get the max value from an Enumerable, in this case a list.
The
&block
is the block you pass as a parameter for themax_by
. e.gAny doubt, please reply! :D
this is obviouosly cheating