diff options
author | Jonathon D. Jones <jonathon_d_jones@yahoo.com> | 2011-03-03 18:10:33 -0500 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-03-05 11:56:33 +0100 |
commit | 3eca9d5b43c270d01ac92491281dd96a5ceaa783 (patch) | |
tree | 560ade0e3a79acef8c0b768f18f21f4268518806 /activesupport/lib | |
parent | 045ca303947e7e9209cee4b3fdede05f6dbb02c4 (diff) | |
download | rails-3eca9d5b43c270d01ac92491281dd96a5ceaa783.tar.gz rails-3eca9d5b43c270d01ac92491281dd96a5ceaa783.tar.bz2 rails-3eca9d5b43c270d01ac92491281dd96a5ceaa783.zip |
Adds link to Object.blank? from Object.present?
Diffstat (limited to 'activesupport/lib')
-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 |