Wraps another IO object. Everything written to the PseudoIO will not only be immediately forwarded to the underlying IO object but will also be captured in a buffer. The contents of the buffer can be retrieved by calling done!.
# File lib/phusion_passenger/utils.rb, line 523 def done! result = @buffer.string @buffer = nil return result end
# File lib/phusion_passenger/utils.rb, line 533 def method_missing(*args, &block) @buffer.send(*args, &block) if @buffer && args.first != :reopen return @sink.send(*args, &block) end
Generated with the Darkfish Rdoc Generator 2.