Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Test
/
Unit
/
Assertions
/
//opt/alt/ruby21/share/ri/2.1.0/system/Test/Unit/Assertions/assert_throw-i.ri
U:RDoc::AnyMethod[iI"assert_throw:EFI"(Test::Unit::Assertions#assert_throw;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"CFails unless the given block throws +tag+, returns the caught ;TI"value otherwise.;To:RDoc::Markup::BlankLine o; ; [I"GAn optional failure message may be provided as the final argument.;T@o:RDoc::Markup::Verbatim; [ I"tag = Object.new ;TI"4assert_throw(tag, "#{tag} was not thrown!") do ;TI" throw tag ;TI"end;T:@format0: @fileI" lib/test/unit/assertions.rb;T:0@omit_headings_from_table_of_contents_below0I"8assert_throw( tag, failure_message = nil, &block ) ;TI"tag;T[ I"(tag, msg = nil);T@FI"Assertions;FcRDoc::NormalModule00