diff options
author | Xavier Noria <fxn@hashref.com> | 2016-07-22 00:33:02 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-07-22 00:33:02 +0200 |
commit | aea0e5cd709e0fc53e1ba4e87235b8ee3f4bc155 (patch) | |
tree | a892044654be3fc71b2d713002689eaa8eba1bb5 /activesupport | |
parent | 21c6f810ac9beb92cd99aeb07aba2a81c11f1ab0 (diff) | |
download | rails-aea0e5cd709e0fc53e1ba4e87235b8ee3f4bc155.tar.gz rails-aea0e5cd709e0fc53e1ba4e87235b8ee3f4bc155.tar.bz2 rails-aea0e5cd709e0fc53e1ba4e87235b8ee3f4bc155.zip |
adds require for Regexp#match?
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/blank.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/blank.rb b/activesupport/lib/active_support/core_ext/object/blank.rb index 08fb3d5420..045731d752 100644 --- a/activesupport/lib/active_support/core_ext/object/blank.rb +++ b/activesupport/lib/active_support/core_ext/object/blank.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/regexp' + class Object # An object is blank if it's false, empty, or a whitespace string. # For example, +false+, '', ' ', +nil+, [], and {} are all blank. |