Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Package::TarReader::Entry#rewind
rewind
lib/rubygems/package/tar_reader/entry.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/package/tar_reader/entry.rb, line 244
def rewind
check_closed
seek(0, IO::SEEK_SET)
end
Rewinds to the beginning of the tar file entry