On Fri, 2 May 2003, Brian Candler wrote:

> I profess to not fully understanding the different between $defout, $stdout
> and STDOUT; but I believe that $defout is where puts and friends send their
> output by default, so you can change this to a different Ruby stream without
> touching the stdout which is connected to the process.

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=Pine.LNX.4.53.0303242333140.13691%40eli.fsl.noaa.gov

and view the complete thread.

sorry for the long link - i got frustrated by the ruby-talk search
capabilities and just used google.

-a

--
  ====================================
  | Ara Howard
  | NOAA Forecast Systems Laboratory
  | Information and Technology Services
  | Data Systems Group
  | R/FST 325 Broadway
  | Boulder, CO 80305-3328
  | Email: ara.t.howard / fsl.noaa.gov
  | Phone:  303-497-7238
  | Fax:    303-497-7259
  ====================================