aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-06-08 19:25:20 -0400
committerGitHub <noreply@github.com>2018-06-08 19:25:20 -0400
commita38928397d59ef3db578e6f8f82de7be0823d8df (patch)
tree6d48e801803fd1b29f37e6e649c727014e7b3589
parent9204c0c5fa96acc2474eaadc8fa538c7f90d7219 (diff)
parentb4ad3d815d03a3f2466bfcd2ce72ca6d734ea63d (diff)
downloadrails-a38928397d59ef3db578e6f8f82de7be0823d8df.tar.gz
rails-a38928397d59ef3db578e6f8f82de7be0823d8df.tar.bz2
rails-a38928397d59ef3db578e6f8f82de7be0823d8df.zip
Merge pull request #33087 from bogdanvlviv/document-CompareWithRange
Add `ActiveSupport::CompareWithRange` to API docs
-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