#9746: Range extensions

http://dev.rubyonrails.org/ticket/9746

I've added a patch and tests for some core extensions for Range.

   (5..10).overlaps?(3..6) #=> true    (5..10).include?(3..6) #=> false    (5..10).include?(6..9) #=> true

These really come in handy when you're working with time ranges. :slight_smile:

The patch also adds support for #step without a block, which will just return an array:

   (0..60).step(15) #=> [0,15,30,45,60]

Add your +1's if you think it is a worthy patch.

Thanks, Brandon

+1 Totally useful

+1 Totally useful

Want to add that to the ticket? :wink: