On Thu, Oct 8, 2009 at 10:26 PM, Collin Moore <collin.moore / gmail.com> wrote:
> how would i write the output to a text file?    > the output displays blank.

For simple ruby scripts I usually have the output go to screen, then
just redirect it to file when I've figured out that it's working.

ruby script.rb > out.txt

or similar.

>
> I tried a couple File.open attempts, but the output is blank.
> --
> Posted via http://www.ruby-forum.com/.
>
>



-- 
Paul Smith
http://www.nomadicfun.co.uk

paul / pollyandpaul.co.uk