Method: Pathname#file_md5

Defined in:
lib/gorge/pathname.rb

#file_md5String

Returns the MD5 hash (in hexadecimal format) of the contents of the file indicated by the Pathname.

Returns:



17
18
19
# File 'lib/gorge/pathname.rb', line 17

def file_md5
  Digest::MD5.file(self).hexdigest
end