Method: Zip::DOSTime#dos_equals
- Defined in:
- lib/zip/dos_time.rb
#dos_equals(other) ⇒ Object
Dos time is only stored with two seconds accuracy
28 29 30 |
# File 'lib/zip/dos_time.rb', line 28 def dos_equals(other) to_i / 2 == other.to_i / 2 end |