A Wealth Of Ruby Loops And Iterators
I remember when I first started looking at Ruby, I’d be browsing some code and see yet another way of looping/iterating over stuff. Whenever that would happen I would think, “…Ruby sure has a lot of different ways to iterate over things”, but I also remember wishing that someone would just put all the different ways to loop and iterate over stuff together so that you don’t have to discover them in a piecemeal fashion. So, I’ve decided to fulfill my own wish and put together all the different ways to loop over stuff in Ruby…
Post a comment