From: jbshaldane@... (haldane) Date: 2004-07-08T04:47:35+09:00 Subject: Re: REXML problem Hi, Thanks for your prompt reply! > > I am trying to read from a zlib GzipReader with REXML (actually with > > SOAP, it's using REXML). > ... > > The trouble is that GzipReader is not a subclass of IO. However, it > > behaves enough like an IO object to be used as one. A case for duck > > typing? > > How do you define "behaves enough?" Well, what do you need? GzipReader responds to read, getc, readchar, rewind, each_byte, ungetc, gets, readline, each, each_line, readlines and some more besides. > If you send an email to me about this, or (better yet) post a feature > request to the REXML bug tracker, I'll look into it. I'll try to > remember to take a look at it anyway, but the chances of it getting > lost is much higher if you don't contact me directly. > > The REXML bug tracking page is at: > http://www.germane-software.com/cgi-bin/roundup/rexml Will do. I can't get a response from this page just now, but I will try again later. Regards, Stephen Sykes - S.D.Sykes - http://www.stephensykes.com -