aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-07-29 14:51:00 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-07-29 14:51:00 +0900
commit14931e537f3dcd522b68a5b640aa47272602a137 (patch)
tree634f41274b2fdf685f91bb4ea3631b0b0021b19b /activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
parentf10acfa7b64ac93cbbfc97e3a92d644960198764 (diff)
downloadrails-14931e537f3dcd522b68a5b640aa47272602a137.tar.gz
rails-14931e537f3dcd522b68a5b640aa47272602a137.tar.bz2
rails-14931e537f3dcd522b68a5b640aa47272602a137.zip
Remove unused `require "active_support/core_ext/regexp"`
Ruby 2.4 has native `Regexp#match?`. https://ruby-doc.org/core-2.4.0/Regexp.html#method-i-match-3F Related #32034.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb b/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
index 4b9b6ea9bd..e777f02cb6 100644
--- a/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
+++ b/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
@@ -1,7 +1,6 @@
# frozen_string_literal: true
require "active_support/core_ext/array/extract_options"
-require "active_support/core_ext/regexp"
# Extends the module object with class/module and instance accessors for
# class/module attributes, just like the native attr* accessors for instance