Method: Assert.assert_not_nil
- Defined in:
- lib/common/assert.rb
.assert_not_nil(object, msg = nil) ⇒ Object
34 35 36 37 38 |
# File 'lib/common/assert.rb', line 34 def Assert.assert_not_nil( object, msg=nil ) if ( object == nil ) raise_exception( caller, 'object was nil', msg ) end end |