An implementation of Enumerator#next, #peek and #reset for Rubymotion