Category Archives: Enumerators

Fun with Ruby Enumerators

One of my favorite features in Ruby is theĀ Enumerable moduleĀ and the ability to create enumerators. For background, an enumerator in Ruby is like an iterator, it responds to the method next which returns successive elements from some container that is … Continue reading

Posted in Enumerators, Functional, Ruby | Leave a comment