We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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