lib/nanoc/base/compilation/rule_memory_calculator.rb in nanoc-3.7.4 vs lib/nanoc/base/compilation/rule_memory_calculator.rb in nanoc-3.7.5
- old
+ new
@@ -1,15 +1,13 @@
# encoding: utf-8
module Nanoc
-
# Calculates rule memories for objects that can be run through a rule (item
# representations and layouts).
#
# @api private
class RuleMemoryCalculator
-
extend Nanoc::Memoization
# @option params [Nanoc::RulesCollection] rules_collection The rules
# collection
def initialize(params = {})
@@ -33,9 +31,7 @@
end
result
end
memoize :[]
-
end
-
end