Started again with Rails 4
[feedcatcher.git] / vendor / rails / activesupport / lib / active_support / core_ext / range / overlaps.rb
diff --git a/vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb b/vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb
deleted file mode 100644 (file)
index 43c6945..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-module ActiveSupport #:nodoc:
-  module CoreExtensions #:nodoc:
-    module Range #:nodoc:
-      # Check if Ranges overlap.
-      module Overlaps
-        # Compare two ranges and see if they overlap eachother
-        #  (1..5).overlaps?(4..6) # => true
-        #  (1..5).overlaps?(7..9) # => false
-        def overlaps?(other)
-          include?(other.first) || other.include?(first)
-        end
-      end
-    end
-  end
-end