class Object

Public Instance Methods

md5_hash(file_path) click to toggle source
# File lib/magicspec/generators/magicspec/app/spec/support/matchers/file_matcher.rb, line 9
def md5_hash(file_path)
  Digest::MD5.hexdigest(File.read(file_path))    
end