forked from cucumber/cucumber-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-work the pipe interception to be a little cleaner
Per @mattwynne's feedback, wrapping can now be done with: Interceptor::Pipe.wrap :stdout Interceptor::Pipe.unwrap! :stdout Both methods will return the Interceptor::Pipe object such that the consumer can then inspect the interceptor's buffer.
- Loading branch information
R. Tyler Croy
committed
Apr 24, 2012
1 parent
ce8b3df
commit b9ce6d6
Showing
3 changed files
with
93 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters