title: difference between each.with_index and each_with_index in Ruby?
body: <p>I'm really confused about the difference between <code>each.with_index</code> and <code>each_with_index</code>. They have different types but seem to be identical in practice. </p>