Flowdock
assert_block(message="assert_block failed.") public

The assertion upon which all other assertions are based. Passes if the block yields true.

Example:

assert_block "Couldn't do the thing" do
  do_the_thing
end
Show source
Register or log in to add new notes.