aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/range.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-05-22 14:14:56 -0400
committerGitHub <noreply@github.com>2018-05-22 14:14:56 -0400
commitfa9d01d7ddbe18cabd31bcc86b6aa86ac02eff48 (patch)
treea3e8f280ccda596e1590b39807460d0c6d7de744 /activesupport/lib/active_support/core_ext/range.rb
parent7ee898ca18797c70ed71605087474032e2289909 (diff)
parente04a79e772fc9d016d73138c3f322212f3b6ead7 (diff)
downloadrails-fa9d01d7ddbe18cabd31bcc86b6aa86ac02eff48.tar.gz
rails-fa9d01d7ddbe18cabd31bcc86b6aa86ac02eff48.tar.bz2
rails-fa9d01d7ddbe18cabd31bcc86b6aa86ac02eff48.zip
Merge pull request #32938 from utilum/range_case_equality
Allow Range#=== and Range#cover? on Range
Diffstat (limited to 'activesupport/lib/active_support/core_ext/range.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/range.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/range.rb b/activesupport/lib/active_support/core_ext/range.rb
index 4074e91d17..78814fd189 100644
--- a/activesupport/lib/active_support/core_ext/range.rb
+++ b/activesupport/lib/active_support/core_ext/range.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
require "active_support/core_ext/range/conversions"
-require "active_support/core_ext/range/include_range"
+require "active_support/core_ext/range/compare_range"
require "active_support/core_ext/range/include_time_with_zone"
require "active_support/core_ext/range/overlaps"
require "active_support/core_ext/range/each"