From: patrick-may@... (Patrick May) Date: 2002-03-16T15:17:07+09:00 Subject: Re: Reading from a string David Corbin wrote in message news:<3C928904.4090908@imperitek.com>... > Is there a class that provides the IO interface from a String? It seems > hard to believe that there isn't one. I've looked around, but can't > actually find an implementation. Depending on your purposes, it's not that difficult to whip one up. I built a simple one to catch output from eval'd eruby code in rubytalk 34428: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/34428 If you need to duplicate all the behavior of an IO, it would be more difficult, but probably not prohibitive over a weekend. ~ Patrick May