Sha256: d853acb7e24068bee6c37c222be8f35d405c1c71fe859c82dd047980fad0f2e2
Contents?: true
Size: 465 Bytes
Versions: 30
Compression:
Stored size: 465 Bytes
Contents
methods = Zlib::GzipReader.public_instance_methods if !methods.include?(:readpartial) && !methods.include?('readpartial') class Zlib::GzipReader # @param [Fixnum] size # @param [IO] out # @return [String] 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
Version data entries
30 entries across 30 versions & 1 rubygems