Ranges and Sets overlaps, subsets, and intersection - Advent of Code 2022 Day 4 in Ruby

Ranges and Sets overlaps, subsets, and intersection - Advent of Code Day 4 in Ruby.

Challenge: https://adventofcode.com/2022/day/4
Solution: https://gist.github.com/cjavdev/2637d3d898554e8b82a834c25cc80339

#ruby #adventofcode