Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 3eca9d5b43c270d01ac92491281dd96a5ceaa783 1 parent 045ca30
@jonathonjones jonathonjones authored fxn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/core_ext/object/blank.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.