lib/nanoc3/base/source_data/code_snippet.rb in nanoc3-3.2.0a4 vs lib/nanoc3/base/source_data/code_snippet.rb in nanoc3-3.2.0b1
- old
+ new
@@ -45,10 +45,11 @@
def inspect
"<#{self.class}:0x#{self.object_id.to_s(16)} filename=#{self.filename}>"
end
- # TODO document
+ # @return [String] The checksum for this object. If its contents change,
+ # the checksum will change as well.
def checksum
@data.checksum
end
end