Method: Zip::ZipEntry#==
- Defined in:
- lib/ruby_archive/handlers/rubyzip/zip/zip.rb
#==(other) ⇒ Object
746 747 748 749 750 751 752 753 754 755 756 757 |
# File 'lib/ruby_archive/handlers/rubyzip/zip/zip.rb', line 746 def == (other) return false unless other.class == self.class # Compares contents of local entry and exposed fields (@compression_method == other.compression_method && @crc == other.crc && @compressed_size == other.compressed_size && @size == other.size && @name == other.name && @extra == other.extra && @filepath == other.filepath && self.time.dos_equals(other.time)) end |