`capture_io` sounds more like a helper method than a matcher, and rspec-expectations is generally not it the business of providing helper methods....I'm not sure it fits.

What I think does fit is a couple matchers:

``` ruby
expect { do_something }.to output_to_stdout("some string")
expect { do_something }.to output_to_stderr("some string")
```