# File lib/puppet/checksum.rb, line 38 38: def initialize(content, algorithm = "md5") 39: raise ArgumentError.new("You must specify the content") unless content 40: 41: @content = content 42: 43: # Init to avoid warnings. 44: @checksum = nil 45: 46: self.algorithm = algorithm 47: end