Methods

Class/Module Index [+]

Quicksearch

Nanoc::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::ItemRep>] reps A list of item representations

that mutually depend on each other
# File lib/nanoc/base/errors.rb, line 71
def initialize(reps)
  list = reps.map { |r| r.inspect }.join("\n")
  super("The site cannot be compiled because the following items mutually depend on each other:\n#{list}.")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.