lib/overlaps_extension.rb in overlaps_extension-1.0.0 vs lib/overlaps_extension.rb in overlaps_extension-1.0.1.pre.rc.1

- old
+ new

@@ -1,6 +1,9 @@ # frozen_string_literal: true +require 'set' +require 'forwardable' + Array.class_eval do # @return [Boolean] def overlaps?(other) !(self & Array(other)).empty? end