End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::Package::TarReader::Entry.new
new(header, io)
lib/rubygems/package/tar_reader/entry.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/package/tar_reader/entry.rb, line 19
def initialize(header, io)
@closed = false
@header = header
@io = io
@orig_pos = @io.pos
@read = 0
end
Creates a new tar entry for header that will be read from io