class Nanoc::Int::Errors::UnmetDependency

Error that is raised when an rep cannot be compiled because it depends on other representations.

Attributes

rep[R]

@return [Nanoc::Int::ItemRep] The item representation that cannot yet be

compiled

Public Class Methods

new(rep) click to toggle source

@param [Nanoc::Int::ItemRep] rep The item representation that cannot yet be

compiled
Calls superclass method
# File lib/nanoc/base/errors.rb, line 102
def initialize(rep)
  @rep = rep
  super("The current item cannot be compiled yet because of an unmet dependency on the “#{rep.item.identifier}” item (rep “#{rep.name}”).")
end