lib/nanoc/base/entities/item_rep.rb in nanoc-4.7.13 vs lib/nanoc/base/entities/item_rep.rb in nanoc-4.7.14
- old
+ new
@@ -77,10 +77,10 @@
@paths.fetch(snapshot, []).first
end
# Returns an object that can be used for uniquely identifying objects.
def reference
- [:item_rep, item.identifier, name]
+ "item_rep:#{item.identifier}:#{name}"
end
def inspect
"<#{self.class} name=\"#{name}\" raw_path=\"#{raw_path}\" item.identifier=\"#{item.identifier}\">"
end