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.
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