diff options
author | Jonathon D. Jones <jonathon_d_jones@yahoo.com> | 2011-03-03 18:10:33 -0500 |
---|---|---|
committer | Jonathon D. Jones <jonathon_d_jones@yahoo.com> | 2011-03-03 18:10:33 -0500 |
commit | 108561f1cb73c0f600db6cad10b7cf03bf90f09f (patch) | |
tree | c14c764ecdef5fb4264416cbfc8f7a964d9c164f /activesupport | |
parent | 3b7cf234179a3ce09f4a7a9412c15fd82cf1e71c (diff) | |
download | rails-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.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 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 |