Skip to content

Commit

Permalink
Adds link to Object.blank? from Object.present?
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathonjones committed Mar 3, 2011
1 parent 3b7cf23 commit 108561f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/core_ext/object/blank.rb
Expand Up @@ -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
Expand Down

0 comments on commit 108561f

Please sign in to comment.