Methods
T
Constants
BLANK = [ EmptyTrue.new, nil, false, '', ' ', " \n\t \r ", [], {} ]
 
NOT_BLANK = [ EmptyFalse.new, Object.new, true, 0, 1, 'x', [nil], { nil => 0 } ]
 
Instance Public methods
test_assert_blank_false()
# File activesupport/test/test_test.rb, line 96
def test_assert_blank_false
  NOT_BLANK.each { |v|
    begin
      assert_blank v
      fail 'should not get to here'
    rescue Exception => e
      assert_match(/is not blank/, e.message)
    end
  }
end
test_assert_blank_true()
# File activesupport/test/test_test.rb, line 92
def test_assert_blank_true
  BLANK.each { |v| assert_blank v }
end