External iterators in Ruby are such a pain due to StopIteration. I really, really want a Enumerator#has_next() method.
StopIteration
Enumerator#has_next()