diff options
author | Xavier Noria <fxn@hashref.com> | 2018-09-13 22:24:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-13 22:24:43 +0200 |
commit | ec88cd626da8cefb0e11454e814f85c34b498bba (patch) | |
tree | e805dead1862ec400da77d1448bf95a026a12e91 /activesupport | |
parent | 19cb7a9887aa74304e01e5d3b0cb4ecfe6bd554b (diff) | |
parent | 2a82c4750116568ae65cdd71f966b359fc1c07fc (diff) | |
download | rails-ec88cd626da8cefb0e11454e814f85c34b498bba.tar.gz rails-ec88cd626da8cefb0e11454e814f85c34b498bba.tar.bz2 rails-ec88cd626da8cefb0e11454e814f85c34b498bba.zip |
Merge pull request #33800 from aeroastro/feature/doc-change-for-blank
Improve API document on Object#blank?
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/blank.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/blank.rb b/activesupport/lib/active_support/core_ext/object/blank.rb index ad6a9c6146..f36fef6cc9 100644 --- a/activesupport/lib/active_support/core_ext/object/blank.rb +++ b/activesupport/lib/active_support/core_ext/object/blank.rb @@ -4,7 +4,7 @@ require "concurrent/map" class Object # An object is blank if it's false, empty, or a whitespace string. - # For example, +false+, '', ' ', +nil+, [], and {} are all blank. + # For example, +nil+, '', ' ', [], {}, and +false+ are all blank. # # This simplifies # |