Current File : //opt/alt/ruby18/share/ri/1.8/system/Test/Unit/Assertions/assert_block-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params: ""
comment:
- !ruby/struct:SM::Flow::P
body: The assertion upon which all other assertions are based. Passes if the block yields true.
- !ruby/struct:SM::Flow::P
body: "Example:"
- !ruby/struct:SM::Flow::VERB
body: " assert_block "Couldn't do the thing" do\n do_the_thing\n end\n"
full_name: Test::Unit::Assertions#assert_block
is_singleton: false
name: assert_block
params: (message="assert_block failed.") {|| ...}
visibility: public