D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Test
/
Unit
/
Assertions
/
Filename :
assert_throws-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if the block throws <tt>expected_symbol</tt> - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_throws :done do\n throw :done\n end\n" full_name: Test::Unit::Assertions#assert_throws is_singleton: false name: assert_throws params: (expected_symbol, message="", &proc) visibility: public