Module: Nanoc::PathnameExtensions
- Included in:
- Pathname
- Defined in:
- lib/nanoc/base/core_ext/pathname.rb
Instance Method Summary (collapse)
-
- (String) checksum
private
Calculates the checksum for the file referenced to by this pathname.
Instance Method Details
- (String) checksum
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Calculates the checksum for the file referenced to by this pathname. Any change to the file contents will result in a different checksum.
11 12 13 |
# File 'lib/nanoc/base/core_ext/pathname.rb', line 11 def checksum Nanoc::Checksummer.calc(self) end |