Ruby 3.3 introduces range overlap? method

Yes, Ruby 3.3 did introduce the overlap? method for ranges. It returns ‘true’ if two ranges overlap and ‘false’ if they do not. This can be a very helpful method for dealing with range comparisons.