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

*****
Written on