lib/nanoc/base/compilation/compiled_content_cache.rb in nanoc-3.7.4 vs lib/nanoc/base/compilation/compiled_content_cache.rb in nanoc-3.7.5
- old
+ new
@@ -1,15 +1,13 @@
# encoding: utf-8
module Nanoc
-
# Represents a cache than can be used to store already compiled content,
# to prevent it from being needlessly recompiled.
#
# @api private
class CompiledContentCache < ::Nanoc::Store
-
def initialize
super('tmp/compiled_content', 1)
@cache = {}
end
@@ -54,9 +52,7 @@
end
def data=(new_data)
@cache = new_data
end
-
end
-
end