Permalink
Browse files

Documented FalseClass#blank?

  • Loading branch information...
1 parent bd30254 commit a48d2a7a070540b60d50b14a201ffeba02e390f8 @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
@@ -47,7 +47,11 @@ def blank?
end
end
-class FalseClass #:nodoc:
+class FalseClass
+ # Instances of FalseClass are always blank
+ # Example:
+ #
+ # false.blank? => true
def blank?
true
end

0 comments on commit a48d2a7

Please sign in to comment.