Redirect IO to String?

Hi folks,

can I redirect an IO to write on a String?
How is it done?

Thanx and best wishes,
Juergen

Hi,

···

In message “Redirect IO to String?” on 02/12/10, “Lind, Juergen” Juergen.Lind@softwareag.com writes:

can I redirect an IO to write on a String?
How is it done?

Use stringio. Check raa http://www.ruby-lang.org/raa/.

						matz.