title: Iterate over Ruby Time object with delta
body: <p>Is there a way to iterate over a Time range in Ruby, and set the delta?</p>
  
  <p>Here is an idea of what I would like to do:</p>
  
  <pre><code>for hour in (start_time..end_time, hour)
      hour #=&gt; Time object set to hour
  end
  </code></pre>
  
  <p>You can iterate over the Time objects, but it returns every second between the two. What I really need is a way to set the offset or delta (such as minute, hour, etc.)</p>
  
  <p>Is this built in to Ruby, or is there a decent plugin available?</p>