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.
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