diff options
author | utilum <oz@utilum.com> | 2018-05-21 23:53:38 +0200 |
---|---|---|
committer | utilum <oz@utilum.com> | 2018-05-22 15:56:36 +0200 |
commit | e04a79e772fc9d016d73138c3f322212f3b6ead7 (patch) | |
tree | ff8e99281546467b2fbb230c810d4f8e83670445 /activesupport | |
parent | 0fcb921a65e615c301450d7820b03473acd53898 (diff) | |
download | rails-e04a79e772fc9d016d73138c3f322212f3b6ead7.tar.gz rails-e04a79e772fc9d016d73138c3f322212f3b6ead7.tar.bz2 rails-e04a79e772fc9d016d73138c3f322212f3b6ead7.zip |
add CHANGELOG/Doc
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/CHANGELOG.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index a384fc3bd2..91818c3112 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,14 @@ +* Allow Range#=== and Range#cover? on Range + + `Range#cover?` can now accept a range argument like `Range#include?` and + `Range#===`. `Range#===` works correctly on Ruby 2.6. `Range#include?` is moved + into a new file, with these two methods. + + *Requiring active_support/core_ext/range/include_range is now deprecated.* + *Use `require "active_support/core_ext/range/compare_range"` instead.* + + *utilum* + * Add `index_with` to Enumerable. Allows creating a hash from an enumerable with the value from a passed block |