Permalink
Browse files

Adds link to Object.blank? from Object.present?

  • Loading branch information...
1 parent 045ca30 commit 3eca9d5b43c270d01ac92491281dd96a5ceaa783 @jonathonjones jonathonjones committed with fxn Mar 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/object/blank.rb
@@ -13,7 +13,7 @@ def blank?
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

0 comments on commit 3eca9d5

Please sign in to comment.