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:
commit
ec88cd626d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue