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.
Use spoiler flag please.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I didn't think there would be, but that's good to know. Cool!
I did some benchmarking, did each 10,000,000 times several times, can't find any differences outside of the margin of error.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
can even remove the
? true : false
Thank you very much for your help. Now, I can apply that new trick to my future problems. Have a nice day. :)
try this: http://ruby-doc.org/core-2.2.0/String.html#method-i-5B-5D
Could somebody tell me where could I the explaination for this one in the Ruby API? Thanks in advance, and have a nice day.