Method: Cucumber::Formatter::Interceptor::Pipe#initialize
- Defined in:
- lib/cucumber/formatter/interceptor.rb
#initialize(pipe) ⇒ Pipe
Returns a new instance of Pipe.
9 10 11 12 13 14 |
# File 'lib/cucumber/formatter/interceptor.rb', line 9 def initialize(pipe) @pipe = pipe @buffer = StringIO.new @wrapped = true @lock = Mutex.new end |