lib/nanoc3/base/compilation/rule_memory_calculator.rb in nanoc3-3.2.0a4 vs lib/nanoc3/base/compilation/rule_memory_calculator.rb in nanoc3-3.2.0b1
- old
+ new
@@ -11,11 +11,9 @@
extend Nanoc3::Memoization
# @option params [Nanoc3::RulesCollection] rules_collection The rules
# collection
def initialize(params={})
- super('tmp/rule_memory', 1)
-
@rules_collection = params[:rules_collection] or
raise ArgumentError, "Required :rules_collection option is missing"
end
# @param [#reference] obj The object to calculate the rule memory for