aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorTakumasa Ochi <4468155+aeroastro@users.noreply.github.com>2018-09-14 02:41:46 +0900
committerGitHub <noreply@github.com>2018-09-14 02:41:46 +0900
commit2a82c4750116568ae65cdd71f966b359fc1c07fc (patch)
treeebc78cbefb8c85043c328bb7c977c6a992934e40 /activesupport
parentd309737928cb52deb2bfc2d2342a73d203a68fbd (diff)
downloadrails-2a82c4750116568ae65cdd71f966b359fc1c07fc.tar.gz
rails-2a82c4750116568ae65cdd71f966b359fc1c07fc.tar.bz2
rails-2a82c4750116568ae65cdd71f966b359fc1c07fc.zip
Revert falsey with example reordered
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/object/blank.rb4
1 files changed, 2 insertions, 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 027c824b24..f36fef6cc9 100644
--- a/activesupport/lib/active_support/core_ext/object/blank.rb
+++ b/activesupport/lib/active_support/core_ext/object/blank.rb
@@ -3,8 +3,8 @@
require "concurrent/map"
class Object
- # An object is blank if it's falsey, empty, or a whitespace string.
- # For example, +nil+, +false+, [], {}, '', and ' ' are all blank.
+ # An object is blank if it's false, empty, or a whitespace string.
+ # For example, +nil+, '', ' ', [], {}, and +false+ are all blank.
#
# This simplifies
#