# File lib/puppet/type/file/checksum.rb, line 21
21:   def sum_file(path)
22:     type = value || :md5 # because this might be called before defaults are set
23:     method = type.to_s + "_file"
24:     "{#{type}}" + send(method, path).to_s
25:   end