Standard streams
Stream description File descriptor Predefined Ruby variable Ruby environment variable Standard input stream 0 $stdin STDIN Standard output stream 1 $stdout STDOUT Standard error output stream 2 $stderr STDERR