class Bundler::PubGrub::VersionUnion
def self.union(ranges, normalize: true)
def self.union(ranges, normalize: true) ranges = normalize_ranges(ranges) if normalize if ranges.size == 0 VersionRange.empty elsif ranges.size == 1 ranges[0] else new(ranges) end end