# File lib/rubygems/package.rb, line 281 def close #raise ClosedIO if @closed return if @closed @io.write "\0" * 1024 @closed = true end