Sha256: 2c8e7a4ac4363853572d82cde156b72d020b5e463a0e4430669b8b776f8f8de3

Contents?: true

Size: 410 Bytes

Versions: 1

Compression:

Stored size: 410 Bytes

Contents

# @api private
module Nanoc::PathnameExtensions
  # Calculates the checksum for the file referenced to by this pathname. Any
  # change to the file contents will result in a different checksum.
  #
  # @return [String] The checksum for this file
  #
  # @api private
  def __nanoc_checksum
    Nanoc::Int::Checksummer.calc(self)
  end
end

# @api private
class Pathname
  include Nanoc::PathnameExtensions
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nanoc-4.0.0b3 lib/nanoc/base/core_ext/pathname.rb