lib/nanoc3/base/compilation/compiled_content_cache.rb in nanoc3-3.2.0a3 vs lib/nanoc3/base/compilation/compiled_content_cache.rb in nanoc3-3.2.0a4

- old
+ new

@@ -40,9 +40,14 @@ def []=(rep, content) @cache[rep.item.identifier] ||= {} @cache[rep.item.identifier][rep.name] = content end + # @see Nanoc3::Store#unload + def unload + @cache = {} + end + protected def data @cache end