title: How do I generate a random number within a non-contiguous range using Ruby?
body: <p>For example suppose I have the following ranges</p>
  
  <p>5031..5032  6248..6249</p>
  
  <p>How do I generate a random number within these two ranges?</p>