There was an error while loading. Please reload this page.
Would it be useful to allow #assert to take an Exception argument and raise that instead of the Assertion exception if the assertion fails? Eg.
10.assert(ArgumentError) == 5 #=> raises ArgumentError
Would it be useful to allow #assert to take an Exception argument and raise that instead of the Assertion exception if the assertion fails? Eg.