Class Nanoc::RuleMemoryCalculator
In: lib/nanoc/base/compilation/rule_memory_calculator.rb
Parent: Object

Calculates rule memories for objects that can be run through a rule (item representations and layouts).

@api private

Methods

[]   new  

Public Class methods

@option params [Nanoc::RulesCollection] rules_collection The rules

  collection

Public Instance methods

@param [reference] obj The object to calculate the rule memory for

@return [Array] The caluclated rule memory for the given object

[Validate]