diff options
author | Jeremy Daer <jeremydaer@gmail.com> | 2016-04-20 23:05:50 -0700 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2016-04-20 23:05:50 -0700 |
commit | fe9e9f439095a81c5b22c35cd3cbb5cef479b426 (patch) | |
tree | 92e4fd7d3693075d6168cd344106d59eb82041cf /activesupport | |
parent | aa740194689397931af1ebaa9c571a02d03fea4b (diff) | |
parent | c7617c715ab2160a66828985d0c4ad0466b70665 (diff) | |
download | rails-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.rb | 2 |
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 |