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.
Using the #sum method from Array is many, many times faster than using the alternative, inject or reduce.
Hi there, I'm not an expert in Ruby, but here you will find a very useful explanation on this matter.
https://blog.newrelic.com/2014/12/10/weird-ruby-2-rescue-interrupt-ensure/
Is it good to use rescue in ruby?