aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2016-04-20 23:05:50 -0700
committerJeremy Daer <jeremydaer@gmail.com>2016-04-20 23:05:50 -0700
commitfe9e9f439095a81c5b22c35cd3cbb5cef479b426 (patch)
tree92e4fd7d3693075d6168cd344106d59eb82041cf /activesupport
parentaa740194689397931af1ebaa9c571a02d03fea4b (diff)
parentc7617c715ab2160a66828985d0c4ad0466b70665 (diff)
downloadrails-fe9e9f439095a81c5b22c35cd3cbb5cef479b426.tar.gz
rails-fe9e9f439095a81c5b22c35cd3cbb5cef479b426.tar.bz2
rails-fe9e9f439095a81c5b22c35cd3cbb5cef479b426.zip
Merge pull request #24663 from kamipo/remove_unused_blank_re
Remove unused `BLANK_RE`
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