Ruby

Hi,
I am a student in Computer Science, I downloaded Ruby for the first time.I
call script in Ruby code from Visual C. I want know if I can redirect the
results in one file.

Thanks in advance

···

Comunica le tue emozioni in tempo reale con MSN Messenger!
http://messenger.msn.it

I am a student in Computer Science, I downloaded Ruby for the first time.I
call script in Ruby code from Visual C. I want know if I can redirect the
results in one file.

Well, it really depend on what you want to do. At ruby level, you can
write

pigeon% ruby -e '$defout = File.new("aa", "w"); puts "aa"'
pigeon%

pigeon% cat aa
aa
pigeon%

Guy Decoux