cheat sheets.

$ cheat assert
# 'cheat assertions' for the rest

assert(boolean, message=nil)

Asserts that boolean is not false or nil.

Example:

  assert [1, 2].include?(5)
Version 2, updated 92 days ago.
. o 0 ( edit | previous | history | diff )
( add new | see all )