aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object/blank.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/object/blank.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/object/blank.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/object/blank.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/blank.rb b/activesupport/lib/active_support/core_ext/object/blank.rb
index 2ca431ab10..ad6a9c6146 100644
--- a/activesupport/lib/active_support/core_ext/object/blank.rb
+++ b/activesupport/lib/active_support/core_ext/object/blank.rb
@@ -1,6 +1,5 @@
# frozen_string_literal: true
-require "active_support/core_ext/regexp"
require "concurrent/map"
class Object