Class | Nanoc::RuleMemoryStore |
In: |
lib/nanoc/base/compilation/rule_memory_store.rb
|
Parent: | ::Nanoc::Store |
Stores rule memories for objects that can be run through a rule (item representations and layouts).
@api private
@param [Nanoc::ItemRep, Nanoc::Layout] obj The item representation or
the layout to get the rule memory for
@return [Array] The rule memory for the given object
@param [Nanoc::ItemRep, Nanoc::Layout] obj The item representation or
the layout to set the rule memory for
@param [Array] rule_memory The new rule memory to be stored
@return [void]