StringIO is not actually an IO object; it just mimics one. Unless reopen worked with non-descriptor IO-like objects (as in JRuby), it would not be possible to IO#reopen against a StringIO. On Monday, November 2, 2009, Hal Fulton <rubyhacker / gmail.com> wrote: > I've noticed (via =C2=A0my friend Taylor Carpenter) that IO#reopen > doesn't work for a StringIO object. > > Should it? > > I haven't dug into the source yet, but my guess is that it would > be easy to implement... > > > Hal Fulton >