diff options
author | Akira Matsuda <ronnie@dio.jp> | 2011-07-14 12:39:34 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2011-07-14 12:39:34 +0900 |
commit | 99d598a1318c0d7baf50ba3609aa2613b16c064a (patch) | |
tree | 3328e6ca8477ee7fd424499ce091b63f51855248 /activesupport/lib/active_support/core_ext/object/blank.rb | |
parent | 003c6516dcffcd846d1f257a16062cea657cbd33 (diff) | |
download | rails-99d598a1318c0d7baf50ba3609aa2613b16c064a.tar.gz rails-99d598a1318c0d7baf50ba3609aa2613b16c064a.tar.bz2 rails-99d598a1318c0d7baf50ba3609aa2613b16c064a.zip |
need magic comments
Diffstat (limited to 'activesupport/lib/active_support/core_ext/object/blank.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/blank.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/blank.rb b/activesupport/lib/active_support/core_ext/object/blank.rb index 677ec1141d..d060ac04d8 100644 --- a/activesupport/lib/active_support/core_ext/object/blank.rb +++ b/activesupport/lib/active_support/core_ext/object/blank.rb @@ -1,3 +1,5 @@ +# encoding: utf-8 + class Object # An object is blank if it's false, empty, or a whitespace string. # For example, "", " ", +nil+, [], and {} are all blank. |