#array-methods
Read more stories on Hashnode
Articles with this tag
In Ruby there are many methods that accept blocks, one of the first that comes to mind is the times method that allows us to run specific block X...
Or how to simplify and shorten your loops ยท The reduce method looks really similar to the JavaScript one, iterates over all the elements in an Array and...