From c7617c715ab2160a66828985d0c4ad0466b70665 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Thu, 21 Apr 2016 09:22:27 +0900 Subject: Remove unused `BLANK_RE` Follow up to #24658. --- activesupport/lib/active_support/core_ext/object/blank.rb | 2 -- 1 file changed, 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 -- cgit v1.2.3