lib/core/facets/range/overlap.rb in facets-2.4.5 vs lib/core/facets/range/overlap.rb in facets-2.5.0

- old
+ new

@@ -1,10 +1,9 @@ class Range # Do two ranges overlap? # - # CREDIT: Daniel Schierbeck - # CREDIT: Brandon Keepers + # CREDIT: Daniel Schierbeck, Brandon Keepers def overlap?(other) include?(other.first) or other.include?(first) end