Method: Pathname#file_crc32
- Defined in:
- lib/gorge/pathname.rb
#file_crc32 ⇒ String
Returns the CRC32 checksum (in hexadecimal format) of the contents of the file indicated by the Pathname.
9 10 11 |
# File 'lib/gorge/pathname.rb', line 9 def file_crc32 Digest::CRC32.file(self).hexdigest end |