class Nanoc::Int::Errors::RecursiveCompilation
Error that is raised during site compilation when an item (directly or indirectly) includes its own item content, leading to endless recursion.
Public Class Methods
new(reps)
click to toggle source
@param [Array<Nanoc::Int::ItemRep>] reps A list of item representations
that mutually depend on each other
Calls superclass method
# File lib/nanoc/base/errors.rb, line 59 def initialize(reps) list = reps.map(&:inspect).join("\n") super("The site cannot be compiled because the following items mutually depend on each other:\n#{list}.") end