method

file

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: Class
file(name) public

creates a digest object and reads a given file, name.

p Digest::SHA256.file("X11R6.8.2-src.tar.bz2").hexdigest
# => "f02e3c85572dc9ad7cb77c2a638e3be24cc1b5bea9fdbb0b0299c9668475c534"
Show source
Register or log in to add new notes.