diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-17 19:38:32 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-17 19:38:32 -0300 |
commit | a48d2a7a070540b60d50b14a201ffeba02e390f8 (patch) | |
tree | fdb5dcae734afbed5cbbef541528a649b669a066 /activesupport | |
parent | bd302542d0993a4965c870de607051748b6de0be (diff) | |
download | rails-a48d2a7a070540b60d50b14a201ffeba02e390f8.tar.gz rails-a48d2a7a070540b60d50b14a201ffeba02e390f8.tar.bz2 rails-a48d2a7a070540b60d50b14a201ffeba02e390f8.zip |
Documented FalseClass#blank?
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/blank.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/blank.rb b/activesupport/lib/active_support/core_ext/object/blank.rb index 76450a9238..57944bd271 100644 --- a/activesupport/lib/active_support/core_ext/object/blank.rb +++ b/activesupport/lib/active_support/core_ext/object/blank.rb @@ -47,7 +47,11 @@ class NilClass end end -class FalseClass #:nodoc: +class FalseClass + # Instances of FalseClass are always blank + # Example: + # + # false.blank? => true def blank? true end |