aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJonathon D. Jones <jonathon_d_jones@yahoo.com>2011-03-03 18:10:33 -0500
committerJonathon D. Jones <jonathon_d_jones@yahoo.com>2011-03-03 18:10:33 -0500
commit108561f1cb73c0f600db6cad10b7cf03bf90f09f (patch)
treec14c764ecdef5fb4264416cbfc8f7a964d9c164f /activesupport
parent3b7cf234179a3ce09f4a7a9412c15fd82cf1e71c (diff)
downloadrails-108561f1cb73c0f600db6cad10b7cf03bf90f09f.tar.gz
rails-108561f1cb73c0f600db6cad10b7cf03bf90f09f.tar.bz2
rails-108561f1cb73c0f600db6cad10b7cf03bf90f09f.zip
Adds link to Object.blank? from Object.present?
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/object/blank.rb2
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 51670b148f..f70853073a 100644
--- a/activesupport/lib/active_support/core_ext/object/blank.rb
+++ b/activesupport/lib/active_support/core_ext/object/blank.rb
@@ -13,7 +13,7 @@ class Object
respond_to?(:empty?) ? empty? : !self
end
- # An object is present if it's not blank.
+ # An object is present if it's not #blank?.
def present?
!blank?
end