I'm writing a custom matcher to allow testing of the exit status of code.
I've written the matcher as an object using the bits of information I could find.
I'm using `config.include(Rspec::ExitMatchers)` to include a module which has one method which creates an instance of my matcher, however this method receives the expected value, not the block passed to `expect`, so how do I create an instance of my matcher since the initializer needs the block (actual), not the expected value which should be passed to `matches?`...
Any helps/pointers would be great. Thanks, Kris.