On Sep 12, 2005, at 2:18 PM, Peter Fitzgibbons wrote:

>> Hello all,
>>
>> Can someone lead me to a reference for assert_throws?  I don't
>> understand how to reference the expected symbol.
>>
>> I'm trying to assert that a bad call on WIN32OLE object throws
>> WIN32OLERuntimeException.

I believe you are looking for:

     assert_raise(WIN32OLERuntimeException) { bad_call_goes_here() }

Throw/catch are a non-exception related Ruby idiom.

Hope that helps.

James Edward Gray II