mutant
mutant copied to clipboard
Add mutation from `ensure` to `tap`
Example:
resource = aquire
begin
use(resource)
ensure
release(resource)
end
to:
use(resource).tap do
release(resource)
end
This mutation forces to specify the resource release actually is executed in the presence of exceptions.