[ruby-core:114400] [Ruby master Feature#19839] Need a method to check if two ranges overlap