class Bundler::PubGrub::VersionConstraint
def union(other)
def union(other) unless package == other.package raise ArgumentError, "Can only intersect between VersionConstraint of the same package" end self.class.new(package, range: range.union(other.range)) end