On Thu, Jun 12, 2008 at 4:33 PM, Simon Blanco <cowkiller123 / gmail.com> wrote:
<snip>
> You mean creating a global variable at the beginning of the program, or
> am I missing something?

No as STDOUT exists as built in, so das $stdout, same for STDERR,
STDIN, $stderr and $stdin.
The advantage of using $stdout is that you can change it at the
beginning of your program which might e.g. maeking some testing
easier.
But it is perfectly alright to use STDOUT :)
Cheers
Robert
> --
> Posted via http://www.ruby-forum.com/.
>
>




-- 
http://ruby-smalltalk.blogspot.com/

---
As simple as possible, but not simpler.
Albert Einstein