title: Ruby iterate over hours
body: <p>Let's say I have some user input with start and end hours:</p>
  
  <ul>
  <li>start = 09:00</li>
  <li>end = 01:00</li>
  </ul>
  
  <p>How do I display all the hours between those 2? So from 09 to 23, 0, and then to 1.</p>
  
  <p>There are easy cases:</p>
  
  <ul>
  <li>start = 01:00</li>
  <li>end = 04:00</li>
  </ul>
  
  <p>That's just a matter of
  <code>((start_hour.to_i)..(end_hour.to_i))</code>.select { |hour| }</p>