From 99d598a1318c0d7baf50ba3609aa2613b16c064a Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Thu, 14 Jul 2011 12:39:34 +0900 Subject: need magic comments --- activesupport/lib/active_support/core_ext/object/blank.rb | 2 ++ activesupport/test/core_ext/blank_test.rb | 2 ++ 2 files changed, 4 insertions(+) (limited to 'activesupport') 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. diff --git a/activesupport/test/core_ext/blank_test.rb b/activesupport/test/core_ext/blank_test.rb index 98ce8541a3..a2cf298905 100644 --- a/activesupport/test/core_ext/blank_test.rb +++ b/activesupport/test/core_ext/blank_test.rb @@ -1,3 +1,5 @@ +# encoding: utf-8 + require 'abstract_unit' require 'active_support/core_ext/object/blank' -- cgit v1.2.3