Method: Assert.assert_nil

Defined in:
lib/common/assert.rb

.assert_nil(object, msg = nil) ⇒ Object



47
48
49
50
51
# File 'lib/common/assert.rb', line 47

def Assert.assert_nil( object, msg=nil )
  if ( object != nil )
    raise_exception( caller, "object #{object.class.to_s} was not nil", msg )
  end
end