# File lib/rubygems/package/tar_writer.rb, line 186
  def flush
    check_closed

    @io.flush if @io.respond_to? :flush
  end