Skip to content

Commit

Permalink
need magic comments
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Jul 14, 2011
1 parent 003c651 commit 99d598a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activesupport/lib/active_support/core_ext/object/blank.rb
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 2 additions & 0 deletions activesupport/test/core_ext/blank_test.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

require 'abstract_unit'
require 'active_support/core_ext/object/blank'

Expand Down

0 comments on commit 99d598a

Please sign in to comment.