Skip to content
Browse files

Documented TrueClass#blank?

  • Loading branch information...
1 parent a48d2a7 commit c49799923098b63e906af955dc077cb24caeb659 @smartinez87 smartinez87 committed Apr 17, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 activesupport/lib/active_support/core_ext/object/blank.rb
View
6 activesupport/lib/active_support/core_ext/object/blank.rb
@@ -57,7 +57,11 @@ def blank?
end
end
-class TrueClass #:nodoc:
+class TrueClass
+ # Instances of TrueClass are never blank
+ # Example:
+ #
+ # true.blank? => false
def blank?
false
end

0 comments on commit c497999

Please sign in to comment.
Something went wrong with that request. Please try again.