lib/nanoc/base/core_ext/string.rb
def checksum
    digest = Digest::SHA1.new
    digest.update(self)
    digest.hexdigest
  end
# Calculates the checksum for this string. Any change to this string will
# result in a different checksum.
#
# @return [String] The checksum for this string
#
# @api private
Calculates the checksum for this string. Any change to this string will
result in a different checksum.
Calculates the checksum for this string . Any change to this string will result in a different checksum .
def checksum
    digest = Digest::SHA1.new
    digest.update(self)
    digest.hexdigest
  end
def checksum digest = Digest :: SHA1 . new digest . update ( self ) digest . hexdigest end
Calculates the checksum for this string.
Calculates the checksum for this string .
The checksum for this string
The checksum for this string
String
api
None