D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
td-0.15.2
/
lib
/
td
/
Filename :
compat_gzip_reader.rb
back
Copy
methods = Zlib::GzipReader.public_instance_methods if !methods.include?(:readpartial) && !methods.include?('readpartial') class Zlib::GzipReader def readpartial(size, out=nil) o = read(size) if o if out out.replace(o) return out else return o end end raise EOFError, "end of file reached" end end end