AlkantarClanX12

Your IP : 3.145.63.148


Current Path : /opt/alt/ruby18/share/ri/1.8/system/Test/Unit/Assertions/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/Test/Unit/Assertions/assert_throws-i.yaml

--- !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