On Wed, Jul 14, 2010 at 4:41 AM, Jonathan Bale <webmaster / indicium.us>wrote:

> Okay, real simple question, but somehow I am missing it in the API: how
> do create an IO object that represents stdout? I'm using a certain
> function that receives writable IO objects and I wanted to pass in the
> standard output as a stream.
> --
> Posted via http://www.ruby-forum.com/.
>
>
Why not just pass $stdout itself?

Ammar