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

Methods

[]   []=   data   data=   new  

Public Class methods

@option params [Nanoc::Site] site The site where this rule memory store

  belongs to

Public Instance methods

@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]

Protected Instance methods

[Validate]