Sha256: f35e8051a256a91df3e95aa6200f3fd00406daa1b737d3a5bed8943f7d55094f

Contents?: true

Size: 393 Bytes

Versions: 160

Compression:

Stored size: 393 Bytes

Contents

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

Version data entries

160 entries across 160 versions & 2 rubygems

Version Path
td-client-0.8.26 lib/td/client/compat_gzip_reader.rb
td-0.10.45 lib/td/compat_gzip_reader.rb
td-0.10.44 lib/td/compat_gzip_reader.rb
td-client-0.8.25 lib/td/client/compat_gzip_reader.rb
td-0.10.43 lib/td/compat_gzip_reader.rb
td-0.10.42 lib/td/compat_gzip_reader.rb
td-0.10.41 lib/td/compat_gzip_reader.rb
td-client-0.8.24 lib/td/client/compat_gzip_reader.rb
td-client-0.8.23 lib/td/client/compat_gzip_reader.rb
td-0.10.40 lib/td/compat_gzip_reader.rb
td-0.10.39 lib/td/compat_gzip_reader.rb
td-0.10.38 lib/td/compat_gzip_reader.rb
td-client-0.8.22 lib/td/client/compat_gzip_reader.rb
td-0.10.37 lib/td/compat_gzip_reader.rb
td-client-0.8.21 lib/td/client/compat_gzip_reader.rb
td-0.10.36 lib/td/compat_gzip_reader.rb
td-0.10.35 lib/td/compat_gzip_reader.rb
td-client-0.8.20 lib/td/client/compat_gzip_reader.rb
td-0.10.34 lib/td/compat_gzip_reader.rb
td-0.10.33 lib/td/compat_gzip_reader.rb