diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-07 22:07:39 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-07 22:12:15 +0300 |
commit | b4ad3d815d03a3f2466bfcd2ce72ca6d734ea63d (patch) | |
tree | bb1cc66ad3ba73de48178ebf120aa7d638052c20 /activesupport/lib | |
parent | 35730055174c3b4b4dd2b08fc743e425310d5131 (diff) | |
download | rails-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]
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/range/compare_range.rb | 2 |
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 |