aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-04-21 09:22:27 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-04-21 09:22:27 +0900
commitc7617c715ab2160a66828985d0c4ad0466b70665 (patch)
treedc8859e03a6e0a9db4d6b08f5f235405b92fd191 /activesupport
parent115efeb036d4d56186ba7b0b64750cdc57471b59 (diff)
downloadrails-c7617c715ab2160a66828985d0c4ad0466b70665.tar.gz
rails-c7617c715ab2160a66828985d0c4ad0466b70665.tar.bz2
rails-c7617c715ab2160a66828985d0c4ad0466b70665.zip
Remove unused `BLANK_RE`
Follow up to #24658.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/object/blank.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/blank.rb b/activesupport/lib/active_support/core_ext/object/blank.rb
index f7efa1e01a..1b94dee6cc 100644
--- a/activesupport/lib/active_support/core_ext/object/blank.rb
+++ b/activesupport/lib/active_support/core_ext/object/blank.rb
@@ -97,8 +97,6 @@ class Hash
end
class String
- BLANK_RE = /\A[[:space:]]*\z/
-
# A string is blank if it's empty or contains whitespaces only:
#
# ''.blank? # => true