From: Ryan Davis Date: 2010-06-29T10:31:07+09:00 Subject: Re: Reading String Data as a File On Jun 28, 2010, at 17:43 , Doug Jolley wrote: > I use Net::HTTP to collect some data as a string. I now need to pass > that string data to a Ruby method that is expecting to receive the data > from a file (i.e., the method expects the data to be stored in a file > and to have a path to the file passed to it as a parameter). Is there > anyway to resolve this dilemma short of writing the string data to a > file and then reading it in from the file? ri StringIO