Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Package::TarReader::Entry#eof?
eof?
lib/rubygems/package/tar_reader/entry.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/package/tar_reader/entry.rb, line 80
def eof?
check_closed
@read >= @header.size
end
Are we at the end of the tar entry?