diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-12-20 23:22:46 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-12-20 23:22:46 +0900 |
commit | d5197d59a112581e8838f6867c0a02806bace46a (patch) | |
tree | b81f4d3fdf5cbcfad38e3763a2bde19ed5655269 /activesupport/lib/active_support/inflector | |
parent | 3e50a1bcd4b5f3ce26ec94ba061d039c0a6f8062 (diff) | |
download | rails-d5197d59a112581e8838f6867c0a02806bace46a.tar.gz rails-d5197d59a112581e8838f6867c0a02806bace46a.tar.bz2 rails-d5197d59a112581e8838f6867c0a02806bace46a.zip |
Use native `Array#append`, `Array#prepend`, `Hash#transform_keys`, and `Hash#transform_keys!`
Since Rails 6 requires Ruby 2.5.
https://github.com/ruby/ruby/blob/ruby_2_5/NEWS
Follow up #34754.
Diffstat (limited to 'activesupport/lib/active_support/inflector')
-rw-r--r-- | activesupport/lib/active_support/inflector/inflections.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/inflector/inflections.rb b/activesupport/lib/active_support/inflector/inflections.rb index 2b86d233e5..fa087c4dd6 100644 --- a/activesupport/lib/active_support/inflector/inflections.rb +++ b/activesupport/lib/active_support/inflector/inflections.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true require "concurrent/map" -require "active_support/core_ext/array/prepend_and_append" require "active_support/i18n" require "active_support/deprecation" |