    # File lib/rubygems/package/tar_header.rb, line 178
      def ==(other)
        self.class === other and
        @checksum == other.checksum and
        @devmajor == other.devmajor and
        @devminor == other.devminor and
        @gid      == other.gid      and
        @gname    == other.gname    and
        @linkname == other.linkname and
        @magic    == other.magic    and
        @mode     == other.mode     and
        @mtime    == other.mtime    and
        @name     == other.name     and
        @prefix   == other.prefix   and
        @size     == other.size     and
        @typeflag == other.typeflag and
        @uid      == other.uid      and
        @uname    == other.uname    and
        @version  == other.version
      end