title: What is the Ruby equivalent of Python's iter()/next()?
body: <p>In python I can get an iterator from any iterable with <code>iter()</code>; and then I can call <code>next(my_iter)</code> to get the next element.</p>
  <p>Is there any equivalent in ruby/rails?</p>