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