From: Li Chen Date: 2006-10-20T08:19:09+09:00 Subject: how to print/write the result to a file Hi folks, Assume I have an array=[1,2,3] How do I print/write the result to a file called test.text either in the same folder or in a different folder? Thanks in advance, Li -- Posted via http://www.ruby-forum.com/.