1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #33800 from aeroastro/feature/doc-change-for-blank

Improve API document on Object#blank?
This commit is contained in:
Xavier Noria 2018-09-13 22:24:43 +02:00 committed by GitHub
commit ec88cd626d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
#