Flowdock
assert_not_nil(object, message="") public

Passes if ! object .nil?

Example:

assert_not_nil '1 two 3'.sub!(/two/, '2')
Show source
Register or log in to add new notes.