diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-17 19:39:40 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-17 19:39:40 -0300 |
commit | c49799923098b63e906af955dc077cb24caeb659 (patch) | |
tree | ce0543453f1113c60aadecae6003a0cdb5b2dd2e /activesupport/lib/active_support | |
parent | a48d2a7a070540b60d50b14a201ffeba02e390f8 (diff) | |
download | rails-c49799923098b63e906af955dc077cb24caeb659.tar.gz rails-c49799923098b63e906af955dc077cb24caeb659.tar.bz2 rails-c49799923098b63e906af955dc077cb24caeb659.zip |
Documented TrueClass#blank?
Diffstat (limited to 'activesupport/lib/active_support')
-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 57944bd271..764d0666fd 100644 --- a/activesupport/lib/active_support/core_ext/object/blank.rb +++ b/activesupport/lib/active_support/core_ext/object/blank.rb @@ -57,7 +57,11 @@ class FalseClass end end -class TrueClass #:nodoc: +class TrueClass + # Instances of TrueClass are never blank + # Example: + # + # true.blank? => false def blank? false end |