From: Robert Klemme Date: 2008-05-21T02:25:02+09:00 Subject: Re: Arbitrary IO object On 20.05.2008 18:40, Daniel Berger wrote: > How would I go about using IO.new such that it would automatically > grab the next available file descriptor? Not sure what you mean: File.open uses a new file descriptor. Why would you care about the file descriptor numbering? > I don't know the fileno in > advance and I can't use StringIO. Why would you want to use StringIO to read from files? > What are my options? What are you trying to achieve? Kind regards robert