Sha256: ed9708e35d0f5edd2240106ce93d11978cccf068e45ffd65a7d0bded126e8010

Contents?: true

Size: 429 Bytes

Versions: 4

Compression:

Stored size: 429 Bytes

Contents

# encoding: utf-8

# @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

4 entries across 4 versions & 1 rubygems

Version Path
nanoc-4.0.0b2 lib/nanoc/base/core_ext/pathname.rb
nanoc-4.0.0b1 lib/nanoc/base/core_ext/pathname.rb
nanoc-4.0.0a2 lib/nanoc/base/core_ext/pathname.rb
nanoc-4.0.0a1 lib/nanoc/base/core_ext/pathname.rb