aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-06-07 22:07:39 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-06-07 22:12:15 +0300
commitb4ad3d815d03a3f2466bfcd2ce72ca6d734ea63d (patch)
treebb1cc66ad3ba73de48178ebf120aa7d638052c20
parent35730055174c3b4b4dd2b08fc743e425310d5131 (diff)
downloadrails-b4ad3d815d03a3f2466bfcd2ce72ca6d734ea63d.tar.gz
rails-b4ad3d815d03a3f2466bfcd2ce72ca6d734ea63d.tar.bz2
rails-b4ad3d815d03a3f2466bfcd2ce72ca6d734ea63d.zip
Add `ActiveSupport::CompareWithRange` to API docs
Since it is documented in the guides http://edgeguides.rubyonrails.org/active_support_core_extensions.html#include-questionmark-and-cover-questionmark we can add it to API docs http://edgeapi.rubyonrails.org too. [ci skip]
-rw-r--r--activesupport/lib/active_support/core_ext/range/compare_range.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/range/compare_range.rb b/activesupport/lib/active_support/core_ext/range/compare_range.rb
index 704041f6de..6f6d2a27bb 100644
--- a/activesupport/lib/active_support/core_ext/range/compare_range.rb
+++ b/activesupport/lib/active_support/core_ext/range/compare_range.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module ActiveSupport
- module CompareWithRange #:nodoc:
+ module CompareWithRange
# Extends the default Range#=== to support range comparisons.
# (1..5) === (1..5) # => true
# (1..5) === (2..3) # => true